You could load it into PostGIS, let PostGIS calculate the centroid and export it again to shape using e.g. ogr2ogr.

You probably could also write an OGR Python script doing this.

Best regards,
Bart

Chip Taylor wrote:

Is there an open source utility that will convert a polygon shapefile to a
point shapefile, using the centroid of the polygon as the xy for the point?

Chip Taylor
Prepared Response, Inc




--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

Reply via email to