From: Regina Obe Date: Fri, 23 Oct 2009 13:26:33 +0000 (+0000) Subject: Preliminary documentation for ST_GeomFromGML and logic to support gml input parameters X-Git-Tag: 1.5.0b1~348 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f81c7d5521eaf530986e7123ad8a3482afcc212a;p=postgis Preliminary documentation for ST_GeomFromGML and logic to support gml input parameters git-svn-id: http://svn.osgeo.org/postgis/trunk@4672 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index 04e4f2ccc..e81ffebf5 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -1399,6 +1399,52 @@ SELECT ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 15 + + + + ST_GeomFromGML + Takes as input GML representation of geometry and outputs a PostGIS geometry object + + + + + + geometry ST_GeomFromGML + text geomgml + + + + + + Description + Constructs a PostGIS ST_Geometry object from the OGC GML representation. + + The EWKB format is not an OGC standard, but a PostGIS specific format that includes the spatial reference system (SRID) + identifier + + + + + + + This function supports 3d and will not drop the z-index. + + + + + Examples + SELECT ST_GeomFromGML(' + -71.16028,42.258729 -71.160837,42.259112 -71.161143,42.25932 + + ");']]>); + + + + See Also + + + diff --git a/doc/xsl/postgis_gardentest.sql.xsl b/doc/xsl/postgis_gardentest.sql.xsl index f4a18ddd9..72eef0a87 100644 --- a/doc/xsl/postgis_gardentest.sql.xsl +++ b/doc/xsl/postgis_gardentest.sql.xsl @@ -258,7 +258,7 @@ SELECT 'create,insert,drop Test: End Testing Geography - + @@ -368,6 +368,9 @@ SELECT ' + + ST_AsGML(foo1.the_geom) + foo1.the_geom diff --git a/doc/xsl/postgis_gardentest_subset.sql.xsl b/doc/xsl/postgis_gardentest_subset.sql.xsl index 2eda7cb38..b9bbaeee0 100644 --- a/doc/xsl/postgis_gardentest_subset.sql.xsl +++ b/doc/xsl/postgis_gardentest_subset.sql.xsl @@ -172,7 +172,7 @@ - + @@ -282,6 +282,9 @@ SELECT ' + + ST_AsGML(foo1.the_geom) + foo1.the_geom