<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Reverse Geocoding in Coastal Areas"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Reverse Geocoding in Coastal Areas"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Reverse Geocoding in Coastal Areas</title>
				<description><![CDATA[ Hello Everyone,

Noob here. What a fantastic resource GeoNames is - thanks to all involved!

I just used

http://ws.geonames.org/countrySubdivisionJSON?lat=XXX&lng=YYY

to find the country at XXX,YYY. It didn't always return a result and it seems it is coastal areas for which this happens. The description of the service says that I should append &radius=RRR but this doesn't seem to work. Eg

(XXX,YYY) = (18.486510, -64.583385)

is a point on the coast of the British Virgin Islands and the service returns

'{"status":{"message":"we are afraid we could not find a administrative country subdivision for latitude and longitude : 18.48651,-64.583385","value":15}}'

and adding &radius=2.0 and/or &radius=20.0 gives exactly the same thing.

Am I misunderstanding something?

Thanks,


]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1478.page#6165</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1478.page#6165</link>
				<pubDate><![CDATA[Wed, 5 Aug 2009 09:30:41]]> GMT</pubDate>
				<author><![CDATA[ Kilgore661]]></author>
			</item>
			<item>
				<title>Re:Reverse Geocoding in Coastal Areas</title>
				<description><![CDATA[ Hi

GeoNames doesn't have any country subdivision information in this area.

The country service, however, returns: http://ws.geonames.org/countryCode?lat=18.48651&lng=-64.583385&style=full&type=XML&radius=10

If it is helpful we could add the country information to the country subdivision service for those regions where we have country information but no subdivision information. The elements countryCode and countryName would be filled for these regions and the admin elements would be missing.

Best

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1478.page#6166</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1478.page#6166</link>
				<pubDate><![CDATA[Wed, 5 Aug 2009 09:49:04]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Reverse Geocoding in Coastal Areas</title>
				<description><![CDATA[ Excellent - thanks!]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1478.page#6167</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1478.page#6167</link>
				<pubDate><![CDATA[Wed, 5 Aug 2009 10:25:04]]> GMT</pubDate>
				<author><![CDATA[ Kilgore661]]></author>
			</item>
	</channel>
</rss>