1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.9.x] Documented that GDAL is required to initialize GEOSGeometry from JSON.

Backport of febe1321da from master
This commit is contained in:
Sergey Fedoseev
2015-12-23 15:37:49 +05:00
committed by Tim Graham
parent c0d8d5f98c
commit 91c976b64b

View File

@@ -189,14 +189,14 @@ given ``geo_input`` argument, and then assumes the proper geometry subclass
The following input formats, along with their corresponding Python types, The following input formats, along with their corresponding Python types,
are accepted: are accepted:
============= ====================== ======================= ======================
Format Input Type Format Input Type
============= ====================== ======================= ======================
WKT / EWKT ``str`` or ``unicode`` WKT / EWKT ``str`` or ``unicode``
HEX / HEXEWKB ``str`` or ``unicode`` HEX / HEXEWKB ``str`` or ``unicode``
WKB / EWKB ``buffer`` WKB / EWKB ``buffer``
GeoJSON ``str`` or ``unicode`` GeoJSON (requires GDAL) ``str`` or ``unicode``
============= ====================== ======================= ======================
.. note:: .. note::