Thursday, March 27, 2014

Re: How transform specific geometry column using Django GIS GeoQuerySet

I am doing sql queries in django, the queries that i mentioned above are print queries of django

  Network.objects.transform(srid=3857).values('geometry', 'bbox')
 This is printed SQL query output of above django query 
 SELECT ST_Transform("tbl_network"."geometry", 3857), "tbl_network"."bbox" FROM "tbl_network"
 Network.objects.transform(srid=3857).values('bbox')
This is printed SQL query output of above django query 
 SELECT "tbl_network"."bbox" FROM "tbl_network" 

--
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/f95b90d3-4d95-4aba-9bc6-73935ceb1a33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment