0
I’m looking for how to make a geolocation script to find cities within a radius of X Km from a central point.
How so ?
For example, in a combobox I choose a city - Rio Claro/SP - from there I want to select some cities in a radius of 50km, 100km and so on.
This choice of KM would also be a combobox for user option.
I don’t have any script because I’ve never done it. I actually need instructive links and a foundation to get started.
The main city to be chosen would come from the database, which will fill a combobox. And the other cities would also be in the database.
Now it’s no longer funny my avatar because they’ve already discovered my identity... partially.
– Diego Souza
http://answall.com/questions/34959/como-buscar-por-dist%C3%a2ncia http://answall.com/questions/9128/como-obten-dist%C3%a2ncia-dada-as-coordenadas-usando-sql http://answall.com/questions/70447/como-calcular-a-dist%C3%a2ncia-between-two-point location%C3%A7%C3%a3o http://answall.com/questions/64260/likesto achar-a-distance-em-km-entre-dois-markers-markers-where you can do it. http://answall.com/questions/82585/google-maps-mostrar-markers-dentro-certa-distancehttp://en.stackoverflow.com/questions/57987/how-return-points-within-a-radius
– Bacco
@Bacco, I am very lay in this subject. Below lay yet. I don’t understand much, almost anything, of these links.
– Diego Souza
to be more specific than these links, it would be nice to complement the question by telling where this data comes from (if it is a DB, for example), what format they are in, etc. For someone to explain how to apply the most appropriate concept in practice, just knowing the whole context. Remembering that depending on the case, have Dbs specialized in this.
– Bacco
Got it. I’ll specify
– Diego Souza