cannot set GeometryProxy with value of type
Hi,
I am simply trying the following,
outerWallPolygon = SpatialFeatures.objects.all()
print "outerWallPolygon: ",outerWallPolygon[0].geometry
and get this error.
cannot set GeometryProxy with value of type: <class
'django.contrib.gis.geos.collections.MultiPolygon'>
I believe I have everything set up correctly, the Geomanager, the GIS
libraries in my settings.py etc.
Let me know if you need me to provide any further info. I have seen
some coding around like here,
http://spygit.durden.webfactional.com/django/bf7b51452973fcca489b5734e9be0c8acda08133/django/contrib/gis/db/models/proxy.py/
but i am not sure if I am supposed to use this or not and how?
Anyway, any help would be appreciated!
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home