12.07.2015 Views

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>165 / 310ExamplesIn each of the following illustrations, the blue dot represents the centroid of the source geometry.Centroid of a MULTIPOINTCentroid of a LINESTRINGCentroid of a POLYGONCentroid of a GEOMETRYCOLLECTIONSELECT ST_AsText(ST_Centroid(’MULTIPOINT ( -1 0, -1 2, -1 3, -1 4, -1 7, 0 1, 0 3, 1 1, 20, 6 0, 7 8, 9 8, 10 6 )’));st_astext------------------------------------------POINT(2.30769230769231 3.30769230769231)(1 row)←↪

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!