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>151 / 310NoteThe WKT spec does not include the SRID. To get the SRID as part of the data, use the non-standard <strong>PostGIS</strong>ST_AsEWKTWKT format does not maintain precision so to prevent floating truncation, use ST_AsBinary or ST_AsEWKB format fortransport.NoteST_AsText is the reverse of ST_GeomFromText.ST_AsText representation.Use ST_GeomFromText to convert to a postgis geometry fromAvailability: 1.5 - support for geography was introduced.This method implements the OpenGIS Simple Features Implementation Specification for SQL 1.1. s2.1.1.1This method implements the SQL/MM specification. SQL-MM 3: 5.1.25This method supports Circular Strings and CurvesExamplesSELECT ST_AsText(’01030000000100000005000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000000000000000000000000000000000000000’);st_astext--------------------------------POLYGON((0 0,0 1,1 1,1 0,0 0))(1 row)See AlsoST_AsBinary, ST_AsEWKB, ST_AsEWKT, ST_GeomFromText7.7 Operators7.7.1 &&&& — Returns TRUE if A’s bounding box overlaps B’s.Synopsisboolean &&( geometry A , geometry B );boolean &&( geography A , geography B );

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

Saved successfully!

Ooh no, something went wrong!