mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Fixed #25940 -- Added OGRGeometry.from_gml() and GEOSGeometry.from_gml().
This commit is contained in:
parent
20d1cb33c2
commit
5ce660cd65
8 changed files with 44 additions and 1 deletions
|
|
@ -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
|
||||
~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue