Tuesday, November 4, 2014

geodjango application in rhel 6

Friends,

     I have developed a geodjango application using python 2.7, django 1.4, mapnik, tilecache and postgis enabled postgresql in ubuntu 12.04. After completing the development I installed the same application in RHEL 6, but postgis query using geodjango API is not working. The query is

the_geom is geometry value from another table

placeDet = MyModel.objects.filter(thegeom__dwithin=(the_geom, 250)).distance(the_geom).order_by('distance')

and in the Excepton it shows the error as,

'NoneType' object has no attribute 'group'


Please help me to solve this issue!

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6a5fc3f1-215b-427b-8a51-95752f84aec7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment