Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-09-01 Thread Reinout van Rees
On 08/30/2010 04:14 PM, kyleduncan wrote: Hi, thanks for the tips! to answer your questions: 1. our model doesnt specify a coordinate system, it just saves the lat and lng that are returned from google maps. 2. i thought transforming had to be done to make a lat/lng point "spatial" before dista

Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-08-30 Thread kyleduncan
Hi, thanks for the tips! to answer your questions: 1. our model doesnt specify a coordinate system, it just saves the lat and lng that are returned from google maps. 2. i thought transforming had to be done to make a lat/lng point "spatial" before distance was calculated. have i got that wrong? 3

Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-08-30 Thread Reinout van Rees
On 08/29/2010 07:45 PM, kyleduncan wrote: Hi all, I am trying to do obtain the distance between two users on my site, using code I found in this group. We already have geoDjango installed, though i'm wondering if my problem comes from being on an old version (i dont know which version we're usin

Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-08-29 Thread kyleduncan
Sorry, i forgot to mention that this is the model field I am retrieving user's locations from: location = geomodels.PointField(null=True, blank=True) which comes back as: POINT(longitude, latitude) and we are using a PostGreSQL database. On Aug 29, 6:45 pm, kyleduncan wrote: > Hi all, > > I a

GeoDjango: default 4326 SRID doesn't work for transform()

2010-08-29 Thread kyleduncan
Hi all, I am trying to do obtain the distance between two users on my site, using code I found in this group. We already have geoDjango installed, though i'm wondering if my problem comes from being on an old version (i dont know which version we're using - if somebody could tell me how to check t