Can I Get geolocation database of city and longitude latitude free for commercial use for get the lat long by ip address. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I Get geolocation database of city and longitude latitude free for commercial use for get the lat long by ip address.

I want the get longitude latitude by ip address. I want the database and way to get it for free for commercial unlimited use. I am using php for this

5th Jun 2018, 5:47 PM
Amit
Amit - avatar
5 Answers
+ 1
https://developers.google.com/maps/documentation/geolocation/usage-limits google geolocation api allows 2500 requests per day at a rate of less than 50 requests per second
5th Jun 2018, 6:21 PM
seamiki
seamiki - avatar
0
Seamiki I don't want the service. I want the database of location where I get the lat long. And I can get lat long by ip address. I don't want to send request on other server.
6th Jun 2018, 2:59 AM
Amit
Amit - avatar
0
https://www.w3schools.com/html/html5_geolocation.asp you get the geolocation from the client with js as latitude and longitude. you send the coordinates to a php that stores them in a DB. you can also create a db yourself containing the coordinates of all major cities and use approximation to know in which city your clent is. https://www.google.com/search?q=rome+coordinates and/or you can plot the user position on any map with a grid system: the most basic example is an image of a mercator projection of the world where you highlight the pixel in an x-y position matching your longitude-latitude. if you want a zooming system and topography a dedicated service is the only way to go.
8th Jun 2018, 7:24 AM
seamiki
seamiki - avatar
0
Url www.geonames.org is not working seamiki
8th Jun 2018, 2:24 PM
Amit
Amit - avatar
- 1
for a freely downoladable database of locations, zip codes and more http://www.geonames.org/ if you need to implement a map, OpenStreetMap is a freely available service http://wiki.openstreetmap.org/wiki/API_v0.6
8th Jun 2018, 7:54 AM
seamiki
seamiki - avatar