P
P
PopeyetheSailor2013-08-12 21:12:36
PHP
PopeyetheSailor, 2013-08-12 21:12:36

Is it possible to determine by ip address accurate to the area of ​​the city (Moscow)?

Actually the question is in the title.
UPD , unfortunately, with google api v3, I didn’t figure out how to pull out the coordinates, otherwise, even using the HTML5 Geolocation API - a finger to the sky, sometimes a fairly accurate definition, sometimes completely by.
Thank you all for your help.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
rozhik, 2013-08-12
@rozhik

Google has a very accurate, but unfortunately not a public database. In google maps api v2, you can get the exact coordinate (if you have a key), or through v3, but you need to get naked in it, since they don’t give the user’s coordinate in the forehead.
I have not heard of alternative comparable bases. GeoIP does not provide enough data.

P
Puma Thailand, 2013-08-12
@opium

It is possible, according to provider data.

K
kenny_opennix, 2013-08-13
@kenny_opennix

The district can be determined using ipgeobase.ru/ --used to calculate the smallest route for delivery.
There was also an article habrahabr.ru/post/108541/ , but I did not check what was there and how.

F
Flammar, 2013-08-13
@Flammar

How lucky ... you can calculate the provider by IP, and then - depending on which provider. At the end of 2002, I determined one address in Moscow with an accuracy almost to the house just by e-mail: it was an inter-house grid, covering only a few houses, with some servers inside, including a mail one.
The smaller the provider, the more accurately you can determine the location by IP ;-)

V
Vladimir Dubrovin, 2013-08-14
@z3apa3a

In the general case, no - from providers using NAT or L2TP / PPTP, clients from different parts of the city can get the same external IP.
For georeferencing, information from a cellular network or about Wi-Fi points is usually used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question