Re: GeoDjango: distance calculation

2008-03-04 Thread Justin Bronn
> For some of our calculations, it is much too slow to use distance_spheroid - > the slight loss in accuracy is worth the enormous gain in speed. I did some performance tests and confirmed your findings. I've created a ticket that includes a patch that changes the default geodetic distance calcu

Re: GeoDjango: distance calculation

2008-01-18 Thread Justin Bronn
> We are starting to usegeodjango(revision 7003) and are having > problems using the api to calculate distance. > > class Airport(models.Model): > icao = models.CharField('ICAO', max_length=4) > location = models.PointField() > First, a reminder to add the `objects.GeoManager()` to your m