Re: [postgis-users] Centroid 'Within'

2011-06-22 Thread Paragon Corporation
ns.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Sheara Cohen Sent: Wednesday, June 22, 2011 3:19 PM To: postgis-users@postgis.refractions.net Subject: [postgis-users] Centroid 'Within' Hi All - I'm wondering if anyone has figured out a solution to convertin

Re: [postgis-users] Centroid 'Within'

2011-06-22 Thread Doug_Newcomb
nd to PostGIS Users Discussion To cc Subject [postgis-users] Centroid 'Within' 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 pr

[postgis-users] Centroid 'Within'

2011-06-22 Thread Sheara Cohen
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 cent

Re: [postgis-users] Centroid Within Multi Part Polygon

2007-06-18 Thread Rob Agar
hi Simon Simon Greener wrote: > Someone asked recently about a centroid function which guaranteed that > the created centroid: > > 1. Fell within a polygon (not outside it as is the case with > implementations that average the X and Y coords of an area); > 2. If the polygon is multi-part, put the

RE: [postgis-users] Centroid Within Multi Part Polygon

2007-06-18 Thread Obe, Regina
Sent: Mon 6/18/2007 6:07 PM To: postgis-users@postgis.refractions.net Subject: [postgis-users] Centroid Within Multi Part Polygon Someone asked recently about a centroid function which guaranteed that the created centroid: 1. Fell within a polygon (not outside it as is the case with implementa

[postgis-users] Centroid Within Multi Part Polygon

2007-06-18 Thread Simon Greener
Someone asked recently about a centroid function which guaranteed that the created centroid: 1. Fell within a polygon (not outside it as is the case with implementations that average the X and Y coords of an area); 2. If the polygon is multi-part, put the centroid in the largest part. I have just