<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Dublin: missing ADM1 in dumps"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/9.page</link>
		<description><![CDATA[Latest messages posted in the topic "Dublin: missing ADM1 in dumps"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Dublin: missing ADM1 in dumps</title>
				<description><![CDATA[ but available via geotree and the hierarchy webservice.

(as a side question, would you want to explain why the hierarchy may be missing from the dumps while being correct in the database/solr index the webservice is running ? :))
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2036.page#8255</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2036.page#8255</link>
				<pubDate><![CDATA[Tue, 17 Aug 2010 17:49:33]]> GMT</pubDate>
				<author><![CDATA[ drzraf]]></author>
			</item>
			<item>
				<title>Re:Dublin: missing ADM1 in dumps</title>
				<description><![CDATA[ there has been a restructuring of IE in the database and the provinces have been added as ADM1:
http://www.geonames.org/search.html?q=adm1&country=IE

The counties are now ADM2.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2036.page#8256</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2036.page#8256</link>
				<pubDate><![CDATA[Tue, 17 Aug 2010 18:16:59]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Dublin: missing ADM1 in dumps</title>
				<description><![CDATA[ Hello,

By the way, why did you add this level?
Provinces are not administrative divisions, more "traditional" divisions...

Best]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2036.page#8258</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2036.page#8258</link>
				<pubDate><![CDATA[Tue, 17 Aug 2010 23:28:01]]> GMT</pubDate>
				<author><![CDATA[ ludaw]]></author>
			</item>
			<item>
				<title>Re:Dublin: missing ADM1 in dumps</title>
				<description><![CDATA[ +-----------+--------+-----------+-------+--------+---------+--------+
| geonameid | name   | asciiname | fcode | fclass | country | admin1 |
+-----------+--------+-----------+-------+--------+---------+--------+
|   2964574 | Dublin | Dublin    | PPLC  | P      | IE      | 07     | 
|   3306980 | Dublin | Dublin    | PPL   | P      | IE      | 26     | 
+-----------+--------+-----------+-------+--------+---------+--------+
select 1 from geoname where  country= 'ie' and fcode='adm1' and admin1 IN (07,26)  == 0]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2036.page#8262</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2036.page#8262</link>
				<pubDate><![CDATA[Wed, 18 Aug 2010 10:16:07]]> GMT</pubDate>
				<author><![CDATA[ drzraf]]></author>
			</item>
			<item>
				<title>Re:Dublin: missing ADM1 in dumps</title>
				<description><![CDATA[ Ludovic 

The counties are a bit unwieldy as top division. It is not even possible to attach the capital to any of those, because they are smaller than the capital.

There are a lot of countries where the adm1 division has not fully admin functionality with the official admin (as with iso/fips) on the adm2 level: GR, PH, also in a way IT, ES, FR.

PH has also been changed these days. Because there are so many provinces and cities that a division with fewer entries on top is preferable, and easier to maintain.

@drzraf: I think you are looking at an old file.

Best

Marc
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2036.page#8265</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2036.page#8265</link>
				<pubDate><![CDATA[Wed, 18 Aug 2010 18:05:35]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Dublin: missing ADM1 in dumps</title>
				<description><![CDATA[ Still reproductible with today dumps, but should I understand a request to grab the hierarchy should be in the form :
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
SELECT d.geonameid as ADM1ID
FROM geoname s, geoname d
WHERE s.geonameid = XXXX AND d.country=s.country AND d.fcode='adm1'
AND &#40;d.admin1 = s.admin1 OR d.admin1 = s.cc2&#41;
</pre>
		</div>

Should I systematically use the "OR d.admin1 = s.cc2" condition ?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2036.page#8271</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2036.page#8271</link>
				<pubDate><![CDATA[Thu, 19 Aug 2010 10:43:02]]> GMT</pubDate>
				<author><![CDATA[ drzraf]]></author>
			</item>
			<item>
				<title>Re:Dublin: missing ADM1 in dumps</title>
				<description><![CDATA[ what is "OR d.admin1 = s.cc2" could for? This condition will never be true, or only accidentally.
The admin1 code of Dublin is no longer '07'. It is now the admincode2, which means you are using old data.

Best

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2036.page#8276</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2036.page#8276</link>
				<pubDate><![CDATA[Thu, 19 Aug 2010 20:25:37]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>