If I do this search:
http://api.geonames.org/ocean?lat=36.812920&lng=17.211045&username=MyUsername
I get back this:
Code:
<geonames>
<ocean>
<name>Ionian Sea</name>
<distance>0</distance>
</ocean>
</geonames>
The Ionian Sea is part of Mediterranean Sea. So in this case I would also like to get information about which Ocean / Sea the Ionian Sea is within.
Is it possible to tell the service that I want returned a hierarcical list, of all relevant Ocean / Sea names for a given lat/lng, sorted in the result from largest Ocean / Sea to the smallest.
For the lng/lat above, and if the Ocean / Sea names are
I would like something like this in return:
Code:
<geonames>
<ocean>
<name>Mediterranean Sea</name>
<distance>0</distance>
</ocean>
<ocean>
<name>Ionian Sea</name>
<distance>0</distance>
</ocean>
</geonames>
If not possible in one query, is it possible to query multiple times, e.g. using an Ocean/Sea id from previous result to get the complete hierarchy of Ocean / Sea names for the given lag/lng?
If this is not possible today, could you please make this possible in near future, and where we could add a parameter to telle the service to return complete list of Ocean / Sea names?