API to determine Country for dependent country?

33 views
Skip to first unread message

Jens Lechtenboerger

unread,
Dec 17, 2012, 9:35:00 AM12/17/12
to geon...@googlegroups.com
Dear reader,

I'm experimenting with the webservice API to cross-check address
information. I'm not sure how to interpret search results for
dependent countries. Is there a way to retrieve the "real" country
for a dependent country?

E.g., the following query URI for "Guadeloupe, France" (after adding
a username parameter)
http://api.geonames.org/search?style=full&name_equals=guadeloupe&country=FR
returns Guadeloupe as PCLD, ADM1, and ADM2 with country code GP.
However, I cannot see any indicator that Guadeloupe may be a part of
France.

Is there a query to retrieve a result that mentions "France" or "FR"
for "Guadeloupe"? (Similarly to the fulltext search on geonames.org
that shows "GP,FR" for the first search result concerning
"Guadeloupe"...)

Thanks in advance
Jens
Reply all
Reply to author
Forward
0 new messages