From: Regina Obe Date: Tue, 10 Nov 2009 11:57:12 +0000 (+0000) Subject: Add ST_GeomFromKML, add some grammar corrections to ST_GeomFromGML X-Git-Tag: 1.5.0b1~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1854498c4ca231f94f4e67761a25c28a0f328cc;p=postgis Add ST_GeomFromKML, add some grammar corrections to ST_GeomFromGML git-svn-id: http://svn.osgeo.org/postgis/trunk@4770 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index cb332849a..2b0db66b6 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -1421,7 +1421,7 @@ SELECT ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 15 Requires compilation with libxml2 2.5+ - ST_GeomFromGML work only for GML Geometries fragments. It throw an error if you try to use it on a whole GML document. + ST_GeomFromGML works only for GML Geometry fragments. It throws an error if you try to use it on a whole GML document. OGC GML versions supported: @@ -1490,6 +1490,67 @@ SELECT ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 15 + + + + ST_GeomFromKML + Takes as input KML representation of geometry and outputs a PostGIS geometry object + + + + + + geometry ST_GeomFromKML + text geomkml + + + + + + Description + Constructs a PostGIS ST_Geometry object from the OGC KML representation. + + Requires compilation with libxml2 2.5+ + + ST_GeomFromKML works only for KML Geometry fragments. It throws an error if you try to use it on a whole KML document. + + OGC KML versions supported: + + + KML 2.2.0 Namespace + + + OGC KML standards, cf: http://www.opengeospatial.org/standards/kml: + + + Availability: 1.5 - requires libxml2 >= 2.5+ + + + + + + This function supports 3d and will not drop the z-index. + + ST_GeomFromKML function not support SQL/MM curves geometries. + + + + + + Examples - A single geometry with srsName + SELECT ST_GeomFromKML(' + -71.1663,42.2614 + -71.1667,42.2616 + ']]>); + + + + + See Also + + +