Re: Query Distance from User

2012-07-16 Thread JJ Zolper
Just use Lat/Lon. You can fidget over which ojection to use later as long as your data is good. (WGS84 is the best btw) I agree lat long sounds beautiful to me! Well thats good. For geolocation, you can use the HTML5 Geolocation API that will use the person's browser to give you a location us

Re: Query Distance from User

2012-07-16 Thread JJ Zolper
I absolutely agree! That sounds like a much better way to install postgis and the other various packages. No more fiddling with my configure issues. I will try installing all of it tomorrow. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Query Distance from User

2012-07-16 Thread JJ Zolper
So wait, Does UTM have to do with the timezones in the USA? Do some of the lines match to tomezone lines? You also never really answered my question before. Sure it sounds like you know what UTM is but I sure dont and thats all youre talking about. If this is about the timezones or whatever th

Re: Query Distance from User

2012-07-16 Thread tWoolie
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

Re: Query Distance from User

2012-07-15 Thread Thomas Lockhart
On 7/15/12 4:41 PM, JJ Zolper wrote: Yeah I'm trying to get GeoDjango set up as we speak. GeoDjango sounds awesome. I have postgresql and Im trying to install postgis but im getting this: FIx your errors in the configure step before bothering to try building. In this case you need libxml2 insta

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
Yeah I'm trying to get GeoDjango set up as we speak. GeoDjango sounds awesome. I have postgresql and Im trying to install postgis but im getting this: jjz@jjz-Laptop:~$ wget http://postgis.refractions.net/download/postgis-1.5.2.tar.gz --2012-07-15 19:40:12-- http://postgis.refractions.net/dow

Re: Query Distance from User

2012-07-15 Thread Jani Tiainen
Or if your database backend supports spatial fields, you can let the database to do the hard work and use Geodjango (built-in GIS extension) which supports spatial operations like query by distance within. I think most standard databases can do that (mysql, postgresql, sqlite, oracle) but I would

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
By UTM do you mean Universal Transverse Mercator? Well hmm I'm not quite sure what issue i would run into with someone living on the edge of the zone. Typically this request is a one time thing. The request goes in and the person either is within (on the line inside) the boundary or they are ju

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
I'm also thinking since Northern VA is so big in terms of people if I get a good thing going here I can port that to other major cities but if I find a less server heavy method I can use that for smaller areas possibly. Not sure, I'll see. JJ On Sunday, July 15, 2012 1:22:10 PM UTC-4, Nicolas

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
Awesome sounds like lat long is the way to go to be able to cover the entire US. And yeah im pretty good at math thanks for the tip Ill work on that soon! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

RE: Query Distance from User

2012-07-15 Thread JJ Zolper
Well as far as what I want to do I explained that above. User requests in all directions a circle spanse of 25 miles i.e. and theres a return of artists in that area. As far as the area I want to cover I would like to start with the northern virginia area and expand from there. A goal set for t

Re: Query Distance from User

2012-07-15 Thread Nicolas Emiliani
What you have just explained seems to be a good option! Is the option to > use latitude and longitude a very common one? I'm not > as familiar as to which options of calculation have known to be the most > stable, usable, fast, or efficient. Or there is any common > knowledge about the such th

RE: Query Distance from User

2012-07-15 Thread lacrymol...@gmail.com
ey're not accurate outside of the area they're designed for. Conversion between systems are easy enough. -Mensaje original- De: JJ Zolper Enviados: 15/07/2012 13:37:10 Asunto: Re: Query Distance from User I've heard from many resources that Google Maps API is one of the mai

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
Thanks for the tip! I will keep record of this! On Sunday, July 15, 2012 11:31:40 AM UTC-4, Markus Gattol wrote: > > I can also recommend https://github.com/HPNeo/gmaps as a wrapper, speeds > up and simplifies dealing with Google's API a lot. > > On Sunday, 15 July 2012 17:30:16 UTC+2, Markus Gat

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
I appreciate the input! I've given the whole GeoIP and geolocation idea some thought and for me I think I've decided for my desktop version to steer clear of those sort of options for the time being. Why? Well I want their to be extreme flexibility but also very accurate information. What do I m

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
I've heard from many resources that Google Maps API is one of the main preferred options. Thanks for sharing what you use! What you have just explained seems to be a good option! Is the option to use latitude and longitude a very common one? I'm not as familiar as to which options of calculatio

Re: Query Distance from User

2012-07-15 Thread JJ Zolper
Now that you mention it I like this idea a lot better! Okay I've changed my mind. My goal is to have the user input their location and then from there I run that againist my database of artists and depending on the request show the artists that are in those respective areas. That's okay that yo

Re: Query Distance from User

2012-07-15 Thread Markus Gattol
I can also recommend https://github.com/HPNeo/gmaps as a wrapper, speeds up and simplifies dealing with Google's API a lot. On Sunday, 15 July 2012 17:30:16 UTC+2, Markus Gattol wrote: > > You can use geolocation > https://developers.google.com/maps/articles/geolocation and if that's not > accu

Re: Query Distance from User

2012-07-15 Thread Markus Gattol
You can use geolocation https://developers.google.com/maps/articles/geolocation and if that's not accurate enough let the user provide his address and with it query Google's https://developers.google.com/maps/documentation/javascript/geocoding API The tricky bit here is if you want to get the l

Re: Query Distance from User

2012-07-15 Thread Nicolas Emiliani
On Sun, Jul 15, 2012 at 1:58 AM, JJ Zolper wrote: > So heres my goal: > > The user logins in and goes to a discover page. They enter a distance from > their location as the requested results scope. Lets say 25 miles from where > I live for example. Additionally they could pick like a genre or mus

Re: Query Distance from User

2012-07-14 Thread Kurtis Mullins
Why not just have them enter their location? I'd comment more but I work for a commercial site that looks like it might be treading in the same area so I don't wanna get myself in trouble here :) On Sun, Jul 15, 2012 at 12:58 AM, JJ Zolper wrote: > So heres my goal: > > The user logins in and go