Robert, thank you for checking. I didn't realize how tricky it can be for special territories like Hong Kong. I'll play with 3rd party libraries and geolocation services.
Maybe finally I will implement more granular selection of probes per continent/state/city in my tools ;)
Regards,
Grzegorz
From: Robert Kisteleki <robert@ripe.net>
Organisation: RIPE NCC
Date: Thursday 2019-11-28 at 10:54
To: "Ponikierski, Grzegorz" <gponikie@akamai.com>, "ripe-atlas@ripe.net" <ripe-atlas@ripe.net>
Subject: Re: [atlas] Unable to set probe location to Hong Kong
On 2019-11-27 14:47, Ponikierski, Grzegorz wrote:
Hi all!
I was wondering why I see more probes in Hong Kong marked as Chinese
probes. For test, I tried to set location of my probe to Hong Kong and
even if I put location pin on map in the middle of Hong Kong it still
ends assigned to China. Are we still able to assign RIPE Atlas probes to
Hong Kong? If not, then what about probes which are still assigned to
Hong Kong? How to reliably get via API list of probes located in Hong
Kong? Should we parse geo coordinates and use 3^rd party libraries to
figure out where probe is really located?
Regards,
Grzegorz
Hello,
The answer is purely technical. We're using a set of geocoding services
(coordinates -> country code) for this. The setup is such that if we
fail to get an answer from the primary provider, we try another one. In
this particular case the secondary provided a different answer than the
primary would have given.
We'll see what we can do with probes that have been affected by this
issue. In the meantime, as you said, one can always use a 3rd party
library, and the probe API helps in various ways to filter probes.
Regards,
Robert