Alternative to Geolocation and GeoIP

What alternatives exist for GEOIP and HTML 5 Geolocation, which are more accurate and able to work reliably in BlackBerry browsers?

+4
source share
4 answers

You can see IP2Location. However, if you are concerned about accuracy, you should not expect high interest from free services. Even paid services are not heads and shoulders above free ones and will always have an accuracy of < 100% . This is just the nature of the beast. I have heard many cases when people in the UK cannot watch BBC online, because their ip is incorrectly found outside the country.

Some geo ip services: Akamai, Quova, Digital Envoy (digital element), Google (javascript), Maxmind (which you used), hostip.info, Geobytes, ip2location, ip geo.

+1
source

If you perform geolocation based on the IP address of the request arriving at your web server, this will not be accurate. Anyone who uses BIS to browse the web (i.e., any consumer device that does not belong to BES or Wi-Fi) is proxied through RIM servers in Canada, so all requests seem to come from Canada.

0
source

The geolocation API should be pretty accurate if you set enableHighAccuracy. However, the browser and device still interpret this. Is this feature not available in the BlackBerry browser you are aiming for? GPS may take some time to enter the satellite ... did you try to use watchPosition () and just let it work for a while as a test?

0
source

It works:

 unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR'])); 
-2
source

Source: https://habr.com/ru/post/1336151/


All Articles