mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #25940 -- Added OGRGeometry.from_gml() and GEOSGeometry.from_gml().
This commit is contained in:
committed by
Tim Graham
parent
20d1cb33c2
commit
5ce660cd65
@@ -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).
|
||||
|
||||
@@ -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
|
||||
~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user