<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Bug in hierarchy"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Bug in hierarchy"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Bug in hierarchy</title>
				<description><![CDATA[ I've noticed a serious bug in hierarchy which probably makes impossible normal selection of the cities basing on regions.

Let's say we have country Russia, geonameID = 2017370
Getting regions http://ws.geonames.org/children?geonameId=2017370
Then pick  for example region "Stavropol'skiy Kray", geonameId = 487839

Getting children for it:  http://ws.geonames.org/children?geonameId=487839
and we see only one entry "Kurskiy Rayon" with geonameId=538550.
It's a sub-region and there should be more than that. Anyway, if we try to get children of it we get empty results: http://ws.geonames.org/children?geonameId=538550.

Whereas there are cities in Stavropol'sky Kray, for example geonameId=548114  but it's impossible to find them through hierarchy.

Same thing with many other Russian regions, I guess it's true for other countries either


]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2045.page#8290</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2045.page#8290</link>
				<pubDate><![CDATA[Wed, 25 Aug 2010 05:46:18]]> GMT</pubDate>
				<author><![CDATA[ yankoff]]></author>
			</item>
			<item>
				<title>Re:Bug in hierarchy</title>
				<description><![CDATA[ it is missing data, not a bug. Not all cities have a valid admincode1 in the database. 


Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2045.page#8291</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2045.page#8291</link>
				<pubDate><![CDATA[Wed, 25 Aug 2010 07:02:21]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Bug in hierarchy</title>
				<description><![CDATA[ Thanks for reply, marc. Is there any chance to select cities knowing only first child (administrative division) of the country?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2045.page#8292</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2045.page#8292</link>
				<pubDate><![CDATA[Wed, 25 Aug 2010 07:04:00]]> GMT</pubDate>
				<author><![CDATA[ yankoff]]></author>
			</item>
	</channel>
</rss>