1
0
mirror of https://github.com/django/django.git synced 2025-07-19 09:09:13 +00:00

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

Backport of febe1321dac489e2e9dc30b6a67ee3b623e0b735 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,
are accepted:
============= ======================
Format Input Type
============= ======================
WKT / EWKT ``str`` or ``unicode``
HEX / HEXEWKB ``str`` or ``unicode``
WKB / EWKB ``buffer``
GeoJSON ``str`` or ``unicode``
============= ======================
======================= ======================
Format Input Type
======================= ======================
WKT / EWKT ``str`` or ``unicode``
HEX / HEXEWKB ``str`` or ``unicode``
WKB / EWKB ``buffer``
GeoJSON (requires GDAL) ``str`` or ``unicode``
======================= ======================
.. note::