[postgis-users] Centroid Calculation Error???

chodgson at refractions.net chodgson at refractions.net
Tue Oct 28 10:21:20 PST 2003


Dave,

The centroid of the surface is NOT the same as the centroid of the points. The 
centroid of the surface is much more painful to calculate - maybe we will need 
to use the equivalent GEOS/JTS function to get this right?

Chris

Quoting David Blasby <dblasby at refractions.net>:

> Düster Horst wrote:
> > In my opinion the distribution of vertex
> > points shouldn't have an influence of the centroid position.
> 
> 
> OGC defines centroid as::
> 
> Centroid( ):Point—The mathematical centroid for this Surface as a Point.
> The result is not guaranteed to be on this Surface.
> 
> I calculate the centroid of the points of the polygon.
> 
> dave
> 
> 
> 
> 
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 







More information about the postgis-users mailing list