Trying to create a feature (in the Django admin) using text such as
'POINT(-80 25)' I get an error back from PostgreSQL:
ProgrammingError: Input geometry has unknown (-1) SRID
The documentation says SRID=4326 is the default, but this must not be
getting passed through. In fact, if I look at the Traceback, the call
is:
ST_Transform('POINT(-80.0000000 25.0000000)', 4326)
But I would expect "srid=4326;" to be pre-pended on the first argument
(if you do so manually, it works fine, no ProgrammingError).
This happens even if I create my models with an explicit srid=4326, such
as:
shape = PointField(srid=4326)
This produces the same call to ST_Transform and thus the same error.
Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---