Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-28 Thread Shoaib Ijaz
> > Can you elaborate following statement, i am at beginner level in django > what why i cannot understand your reply * One option would be to return the data and then transform it once you have the spatial objects into python variables. * Thank you > -- You received this message

Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-27 Thread Alex Mandel
On 03/27/2014 04:53 AM, Shoaib Ijaz wrote: > >> >> 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 * > > SE

Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-27 Thread Shoaib Ijaz
*(*)* I am not doing sql queries in django On Thursday, 27 March 2014 16:53:30 UTC+5, Shoaib Ijaz wrote: > > 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 pr

Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-27 Thread Shoaib Ijaz
> > 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_networ

Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-26 Thread Alex Mandel
On 03/26/2014 06:28 AM, Shoaib Ijaz wrote: > Sorry i mistype queries > > Network.objects.transform(srid=3857).values('geometry', 'bbox') >> >> SELECT ST_Transform("tbl_network"."geometry", 3857), "tbl_network"."bbox" >> FROM "tbl_network" >> >> Network.objects.transform(srid=3857).values('bb

Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-26 Thread Shoaib Ijaz
Sorry i mistype queries Network.objects.transform(srid=3857).values('geometry', 'bbox') > > SELECT ST_Transform("tbl_network"."geometry", 3857), "tbl_network"."bbox" > FROM "tbl_network" > > Network.objects.transform(srid=3857).values('bbox') > > SELECT "tbl_network"."bbox" FROM "tbl_networ