Just use Lat/Lon. You can fidget over which projection to use later as long 
as your data is good. (WGS84 is the best btw)

For geolocation, you can use the HTML5 Geolocation API that will use the 
person's browser to give you a location usually accurate to 200m (better if 
they're on a phone with gps), more than enough given your search radius of 
200miles.

For distance lookups, go with a simple bounding box algorithm (bounded by 
map edges, distance calc by pythagoras). Again exact positioning is NOT 
ESSENTIAL for your use case, especially on the 25mi scale.

If you ever find yourself needing better/more accurate position 
calculation. use postgis, but never install from source, use your distro's 
packages (it Just Works tm). Should be called 'postgresql-9.1-postgis' on 
most distros. do a search. make sure you have libproj and libgeos installed 
as well.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Eqo7IdbDiDsJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to