#24114: Creating GEOSgeometry based on JSON does not work
-------------------------------+--------------------
Reporter: askholme | Owner: nobody
Type: Uncategorized | Status: new
Component: GIS | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Refering to https://docs.djangoproject.com/en/1.7/ref/contrib/gis/geos/
it should be possible to create a point by calling pnt = GEOSGeometry('{
"type": "Point", "coordinates": [ 5.000000, 23.000000 ] }')
however in practice this returns
*** ValueError: String or unicode input unrecognized as WKT EWKT, and
HEXEWKB.
--
Ticket URL: <https://code.djangoproject.com/ticket/24114>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.b5efdd44d264f8d13a408e9f22be748f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.