From 5ce660cd65a4ffcf74d94ba987fe03a16b7436a0 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 10 Jun 2016 11:50:07 +0500 Subject: Fixed #25940 -- Added OGRGeometry.from_gml() and GEOSGeometry.from_gml(). --- docs/ref/contrib/gis/gdal.txt | 6 ++++++ docs/ref/contrib/gis/geos.txt | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt index da81ce5e03..9bd2df8dad 100644 --- a/docs/ref/contrib/gis/gdal.txt +++ b/docs/ref/contrib/gis/gdal.txt @@ -448,6 +448,12 @@ coordinate transformation:: __ http://www.gdal.org/classOGRGeometry.html + .. classmethod:: from_gml(gml_string) + + .. versionadded:: 1.11 + + Constructs an :class:`OGRGeometry` from the given GML string. + .. classmethod:: from_bbox(bbox) Constructs a :class:`Polygon` from the given bounding-box (a 4-tuple). diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index 811a9ba946..e6d609736e 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -198,6 +198,12 @@ WKB / EWKB ``buffer`` GeoJSON ``str`` or ``unicode`` ======================= ====================== +.. classmethod:: GEOSGeometry.from_gml(gml_string) + + .. versionadded:: 1.11 + + Constructs a :class:`GEOSGeometry` from the given GML string. + Properties ~~~~~~~~~~ -- cgit v1.3