Skip to content
Prev 86155 / 398526 Next

Shapefiles

On Thu, 9 Feb 2006, Tarmo Remmel wrote:

            
No, the plot window is committed to the device, and (re)-capturing the 
objects there as polygon objects will be messy. You'll need to generate an 
object that can be drawn as a sequence of straight line segments, and 
create a polygon object from that, from the x,y coordinates of the centre 
and the radius, or major/minor axes lengths and orientations. There is 
some code on:

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/56190.html

(see RSiteSearch("circle"))

but I don't know if it will suit your purposes. Once constructed, the 
polygons can be built into an object for exporting.

  
    
Message-ID: <Pine.LNX.4.44.0602092154340.11075-100000@reclus.nhh.no>
In-Reply-To: <BAYC1-PASMTP02E44014CDFDBCC42ACE62E4030@CEZ.ICE> <BEEKLAMKBJMOPPLNMKNLAEPMDCAA.tarmo.remmel@sympatico.ca>