> 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
> 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
We are starting to use geodjango (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()
The location field will eventually be populated using lat/longs from a
3 matches
Mail list logo