[postgis-users] Centroid 'Within'

Sheara Cohen Sheara at calthorpe.com
Wed Jun 22 12:18:34 PDT 2011


Hi All - I'm wondering if anyone has figured out a solution to
converting a polygon file to a centroid point file that produces
centroids within the polygons. Obviously, ST_Centroid doesn't produce
centroids within the polygon. And ST_PointOnSurface produces a point
within that is only sort of centroid-ish...

 

Any ideas would be great. Thank you!

 

~ Sheara

 

Sheara Cohen
Planner

C A L T H O R P E  A S S O C I A T E S
2095 ROSE STREET, SUITE 201, BERKELEY, CALIFORNIA, 94709 USA



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110622/69eb6e87/attachment.html>


More information about the postgis-users mailing list