Hi
I am new to geodjango, I wonder if someone could help me with this
problem.
What I want to do should be quite simple, I have 2 locations defined
by gps coords, lat / long like returned by google maps:
http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html
I need to calculate the distance between them. It will be a bulk
operation and efficiency is important. I would rather use geodjango
since I presume the most efficient way to do bulk calculations is in
the internal logic of a spatial db. And the rest of my site is django,
so it would be nice to get everything consistent under the same
framework. Switching between spatialite and postgis is another nice
bonus.
I've spent a few hours with the docs, installed geodjango OK, but I
can't seem to find an example of this. Everything in the literature is
way more complicated than I need.
Thanks for any feedback