GeoBases query incorrectly returning "Earth"

62 views
Skip to first unread message

Adam Samec

unread,
Apr 17, 2020, 1:25:15 PM4/17/20
to geon...@googlegroups.com
Hello,

given coordinates as the input, I am using the GeoBases library written in Python to retrieve geographical data stored in the GeoNames free dump files. Specifically, I am trying to get data from the 0 longitude and 0 latitude coordinates. What I should receive at this coordinates is the North Atlantic Ocean, however, what I actually receive is a feature with the name "Earth", and no administrative division data.

Therefore, I would like to ask why I am not receiving the correct data at this (0, 0) point.

Thanks in advance.

Kind regards
Adam

Marc Wick

unread,
Apr 17, 2020, 4:15:49 PM4/17/20
to geon...@googlegroups.com, Adam Samec
Hi Adam

For this use case you will have to use the webservice:
http://api.geonames.org/ocean?lat=0&lng=0&username=demo

Best Regards

Marc

Adam Samec wrote:
> Hello,
>
> given coordinates as the input, I am using the GeoBases
> <https://opentraveldata.github.io/geobases/> library written in Python
> to retrieve geographical data stored in the GeoNames free dump files.
> Specifically, I am trying to get data from the 0 longitude and 0
> latitude coordinates. What I should receive at this coordinates is the
> North Atlantic Ocean, however, what I actually receive is a feature with
> the name "Earth", and no administrative division data.
>
> Therefore, I would like to ask why I am not receiving the correct data
> at this (0, 0) point.
>
> Thanks in advance.
>
> Kind regards
> Adam
>
> --
> You received this message because you are subscribed to the Google
> Groups "GeoNames" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geonames+u...@googlegroups.com
> <mailto:geonames+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/geonames/857DE58F-F548-4639-8471-7547A7941B88%40gmail.com
> <https://groups.google.com/d/msgid/geonames/857DE58F-F548-4639-8471-7547A7941B88%40gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages