<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Differences between the dump database and postalCodeSearchJSON results"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/9.page</link>
		<description><![CDATA[Latest messages posted in the topic "Differences between the dump database and postalCodeSearchJSON results"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Differences between the dump database and postalCodeSearchJSON results</title>
				<description><![CDATA[ Hi Mark,

maybe this question has been asked to you hundred times, but I couldn't find any answers in the forum topics.

I made the following request :

[url]
http://ws.geonames.org/postalCodeSearch?maxRows=10&country=FR&postalcode=57590&placename=Delme
[/url]

and the result is :

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
&lt;geonames&gt;
&lt;totalResultsCount&gt;1&lt;/totalResultsCount&gt;
−
&lt;code&gt;
&lt;postalcode&gt;57590&lt;/postalcode&gt;
&lt;name&gt;Delme&lt;/name&gt;
&lt;countryCode&gt;FR&lt;/countryCode&gt;
&lt;lat&gt;48.8833333&lt;/lat&gt;
&lt;lng&gt;6.4&lt;/lng&gt;
&lt;adminCode1&gt;M&lt;/adminCode1&gt;
&lt;adminName1&gt;Lorraine&lt;/adminName1&gt;
&lt;adminCode2&gt;57&lt;/adminCode2&gt;
&lt;adminName2&gt;MOSELLE&lt;/adminName2&gt;
&lt;adminCode3&gt;57171&lt;/adminCode3&gt;
&lt;adminName3/&gt;
&lt;/code&gt;
&lt;/geonames&gt;
</pre>
		</div>

First, I noticed that adminCode1 is in a fips format but in iso one in the dump.

Then I made another request :


[url]
http://ws.geonames.org/search?maxRows=10&featureCode=PPL&country=FR&q=Delme&adminCode1=B2&adminCode2=57&maxRows=10&style=LONG&lang=fr
[/url]

The result is :

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
&lt;geonames style="LONG"&gt;
&lt;totalResultsCount&gt;1&lt;/totalResultsCount&gt;
−
&lt;geoname&gt;
&lt;name&gt;Delme&lt;/name&gt;
&lt;lat&gt;48.8833333&lt;/lat&gt;
&lt;lng&gt;6.4&lt;/lng&gt;
&lt;geonameId&gt;3021626&lt;/geonameId&gt;
&lt;countryCode&gt;FR&lt;/countryCode&gt;
&lt;countryName&gt;France&lt;/countryName&gt;
&lt;fcl&gt;P&lt;/fcl&gt;
&lt;fcode&gt;PPL&lt;/fcode&gt;
&lt;fclName&gt;city, village,...&lt;/fclName&gt;
&lt;fcodeName&gt;populated place&lt;/fcodeName&gt;
&lt;population&gt;754&lt;/population&gt;
&lt;/geoname&gt;
&lt;/geonames&gt;
</pre>
		</div>

Then I request in the database for the geonames id returned :3021626
admin1_code is B2 (iso)	
admin2_code is 57	
admin3_code is 	572
admin4_code is 57171

Why in the postal Code Search admin3_code is 57171 (which is the admin_code 4 in the database?)

I'm also wondering why the admin1_code format is ISO in the dump and FIPS in the ws result ?

Thank you by advance 

Fred

P.S : I have another question. If I notice a (noticeable) difference between geonames and googlemaps  about the lat and lng coords for the same place, should I rely on the google one and make the change in geonames, or just send you the case for information ?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1113.page#4866</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1113.page#4866</link>
				<pubDate><![CDATA[Tue, 28 Oct 2008 16:08:18]]> GMT</pubDate>
				<author><![CDATA[ fred.wolf]]></author>
			</item>
			<item>
				<title>Re:Differences between the dump database and postalCodeSearchJSON results</title>
				<description><![CDATA[ Hi Fred

The postal code database and the normal GeoNames place name database are two different datasets. We are working on merging them, but as you see your self there are quite some differences and as usuayl the devil is in the details.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1113.page#4874</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1113.page#4874</link>
				<pubDate><![CDATA[Wed, 29 Oct 2008 21:04:33]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>