Hi Pedro, take only the outer Polygon (ST_Boundary) from your query or simpler the centroid from extent.
Gr Ralf -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Pedro Doria Meunier Gesendet: Freitag, 12. Juni 2009 11:05 An: PostGIS Users Discussion Betreff: [postgis-users] Centroid out a list of points Wichtigkeit: Hoch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm trying to get the centroid of a list of points and I'm a bit unsure on how to proceed. The first thing that came to mind was converting the list of points to a polygon but that wouldn't always return a "clean" polygon (e.g. inner points) ... Any thoughts would be greatly appreciated :) BR, - -- Pedro Doria Meunier GSM: +351 96 17 20 188 Skype: pdoriam -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFKMhor2FH5GXCfxAsRArnIAJ0cg/MJ148R+krJ9RscgH9saNA0ggCeIGiJ WF2SAplqMNijkZ8tXOFeP5w= =Db0b -----END PGP SIGNATURE----- _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
