I need to know the latitude
and longitude
of a location looking for CEP
or any other option that I can provide, it can not be Google maps
.
Does anyone know any API
or base de dados
?
I need to know the latitude
and longitude
of a location looking for CEP
or any other option that I can provide, it can not be Google maps
.
Does anyone know any API
or base de dados
?
I figured out how to do it, there is API OSRM and Nominatim API, they do the same Google maps, but and Open Source. I've set up a docker for it and it's working perfectly.
Geolocation by zip code? It does not make much sense, geolocation is the name itself, a location, a zip code, has an area, not a point, latitude and longitude will give you a point.
By the CEP, you will need a database, here you find the bases to do, the whatever you want.
You can also use javascript's .geolocation, but in that case, the zip code does not matter at all, here you find the translated documentation, this functionality is relatively simple for simple and complex purposes for complex purposes, it depends on the user's authorization, and you can infringe on legal means without even realizing it, so it is good to have attention.