Skip to content
Prev 8805 / 29559 Next

How to replace coordinates of Polygons

On Mon, 19 Jul 2010, Ben Mazzotta wrote:

            
Just build lists of new Polygon then Polygons objects, and build a new 
SpatialPolygons at the end. I don't think that you'll see big memory 
problems, and the approach you propose will probably have poor timings, 
because the containing objects will probably be rebuilt for each update.

Are you looking for the elide() method for SpatialPolygons in maptools? Do 
you need an extra operation added to it?

Roger