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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>90 / 310This method implements the SQL/MM specification. SQL-MM 3: 6.1.9This function supports 3d and will not drop the z-index.This method supports Circular Strings and CurvesExamplesSELECTST_AsText(ST_PointFromWKB(ST_AsEWKB(’POINT(2 5)’::geometry)));st_astext------------POINT(2 5)(1 row)SELECTST_AsText(ST_PointFromWKB(ST_AsEWKB(’LINESTRING(2 5, 2 6)’::geometry)));st_astext-----------(1 row)See AlsoST_GeomFromWKB, ST_LineFromWKB7.3.32 ST_PolygonST_Polygon — Returns a polygon built from the specified linestring and SRID.Synopsisgeometry ST_Polygon(geometry aLineString, integer srid);DescriptionReturns a polygon built from the specified linestring and SRID.NoteST_Polygon is similar to first version oST_MakePolygon except it also sets the spatial ref sys (SRID) of the polygon.Will not work with MULTILINESTRINGS so use LineMerge to merge multilines. Also does not create polygons withholes. Use ST_MakePolygon for that.

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

Saved successfully!

Ooh no, something went wrong!