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>116 / 310DescriptionReturn the X coordinate of the point, or NULL if not available. Input must be a point.NoteIf you want to get the max min x values of any geometry look at ST_XMin, ST_XMax functions.This method implements the SQL/MM specification. SQL-MM 3: 6.1.3This function supports 3d and will not drop the z-index.ExamplesSELECT ST_X(ST_GeomFromEWKT(’POINT(1 2 3 4)’));st_x------1(1 row)SELECT ST_Y(ST_Centroid(ST_GeomFromEWKT(’LINESTRING(1 2 3 4, 1 1 1 1)’)));st_y------1.5(1 row)See AlsoST_Centroid, ST_GeomFromEWKT, ST_M, ST_XMax, ST_XMin, ST_Y, ST_Z7.4.30 ST_YST_Y — Return the Y coordinate of the point, or NULL if not available. Input must be a point.Synopsisfloat ST_Y(geometry a_point);DescriptionReturn the Y coordinate of the point, or NULL if not available. Input must be a point.This method implements the OpenGIS Simple Features Implementation Specification for SQL 1.1.This method implements the SQL/MM specification. SQL-MM 3: 6.1.4This function supports 3d and will not drop the z-index.

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

Saved successfully!

Ooh no, something went wrong!