Stan,
I think the answer is no.  For example if you have a polygon with holes, the
centroid may very well lie in the hole.
 
Leo

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of
Sufficool, Stanley
Sent: Friday, May 01, 2009 4:53 PM
To: PostGIS Users Discussion
Subject: [postgis-users] st_centroid Points not on Polygon


I'm sure I ran across this in the forums a year ago, but:
 
Is the st_centroid function guaranteed to return a point that lies on the
polygon? I have instances when my display doe not place it on the polygon
when using st_centroid(st_intersection(the_geom, <WKT BBOX>));
 
Thanks in advance.
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to