geonition/django_geojson_rest — Issue #10: DatabaseError: transform: couldn't project point (1.55579e+07 4.25631e+06 0): latitude or longitude exceeded limits (-14)
Author: ksnabb
Created: 2011-10-31 11:38:37+00:00
State: open

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.6/site-packages/geojson_rest-1.0.0-py2.6.egg/geojson_rest/views.py", line 403, in feature
identifier = save_feature(feature_json)

File "/usr/lib/python2.6/site-packages/geojson_rest-1.0.0-py2.6.egg/geojson_rest/views.py", line 82, in save_feature
new_feature.save()

File "/usr/lib/python2.6/site-packages/geojson_rest-1.0.0-py2.6.egg/geojson_rest/models.py", line 67, in save
super(Feature, self).save(*args, **kwargs)

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)

File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)

DatabaseError: transform: couldn't project point (1.55579e+07 4.25631e+06 0): latitude or longitude exceeded limits (-14)