<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Missing data at the end of German postal code batch file"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "Missing data at the end of German postal code batch file"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Missing data at the end of German postal code batch file</title>
				<description><![CDATA[ Greetings!

There appears to be some missing values near the end of the German postal code batch file. 

The correct entries look like expected:
DE	99996	Obermehler	Thüringen	TH		00	Unstrut-Hainich-Kreis	16064	51.2667	10.6	

However, at the end, we find these:
DE	02640	Bautzen							51.1833	14.4333	
DE	02643	Bautzen							51.1833	14.4333	
DE	04288	Leipzig							51.3667	12.3833	
DE	04316	Leipzig							51.3667	12.3833	
DE	04328	Sellerhausen-Stünzel
DE	04356	Leipzig							51.3667	12.3833	
DE	04824	Beucha							51.3224	12.5633	
DE	08318	Hundshübel							50.5333	12.5333	
DE	08325	Carlsfeld, Erzgebirge							50.5167	12.6	
DE	08344	Grünhain							50.5833	12.8167	
DE	08432	Steinpleis							50.7333	12.3833	
DE	08439	Langenhessen							50.7333	12.3833	
DE	08547	Jößnitz							50.5	12.1333	
DE	09028	Chemnitz, Sachsen							50.8333	12.9167	
DE	09030	Chemnitz, Sachsen							50.8333	12.9167	
DE	09128	Chemnitz, Sachsen							50.8333	12.9167	
DE	09224	Mittelbach bei Chemnitz							50.794	12.786	
DE	09246	Pleißa							50.8667	12.75	
DE	09247	Kändler							50.8667	12.75	
DE	09380	Thalheim / Erzgebirge							50.7	12.85	
DE	13047	Reinickendorf							52.5667	13.3333	
DE	15229	Biegenbrück							52.2674	14.3591	


This one in particular is a bit troublesome:
DE	04328	Sellerhausen-Stünzel 

Note especially that the one without geocodes lack the correct number of tabs (which cause my line.split("\t") to return too few elements).

Is this something that can be fixed reasonably soon, or should I write a workaround?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3057.page#10307</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3057.page#10307</link>
				<pubDate><![CDATA[Thu, 18 Aug 2011 06:13:06]]> GMT</pubDate>
				<author><![CDATA[ lillesand]]></author>
			</item>
			<item>
				<title>Re:Missing data at the end of German postal code batch file</title>
				<description><![CDATA[ are you sure the tabs are missing? I would rather suspect your tool is ignoring them (excel?).

Cheers

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3057.page#10311</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3057.page#10311</link>
				<pubDate><![CDATA[Thu, 18 Aug 2011 06:29:32]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Missing data at the end of German postal code batch file</title>
				<description><![CDATA[ You're absolutely right! The tabs are there, but java ignores trailing delimiter characters when using .split(). Is it generally a good idea to write code that handles missing information for some postal codes, such as the single German postal code missing coordinates?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3057.page#10313</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3057.page#10313</link>
				<pubDate><![CDATA[Thu, 18 Aug 2011 22:53:03]]> GMT</pubDate>
				<author><![CDATA[ lillesand]]></author>
			</item>
			<item>
				<title>Re:Missing data at the end of German postal code batch file</title>
				<description><![CDATA[ I will add the lat long for Sellerhausen-Stünz. It is always a good idea to code defensively and be prepared for missing input data.

Cheers

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3057.page#10318</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3057.page#10318</link>
				<pubDate><![CDATA[Sun, 21 Aug 2011 11:16:44]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Missing data at the end of German postal code batch file</title>
				<description><![CDATA[ <p></p>

		<cite>marc wrote:</cite><br>
		<blockquote>
It is always a good idea to code defensively and be prepared for missing input data.
&nbsp;
		</blockquote>

Not always.
In this case for example, the errors could not be found if <b>lillesand</b> programmed "defensively".
Actually the data should be enriched first if possible. For someone living in Sachsen it is 10 Min. work to add all  required fields above.

For cases, fixing is much more complicated i would prefer entering
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
Not Available | Unknown | N.A. | ...  &#40;e.t.c. ..&#41;
</pre>
		</div>
instead of nothing but TABs.

It would signalise that the maintainer is aware of missing data but no solution is available at the moment of DUMP. A search in RDBMS for missing data will be more accurate too.

Karaca
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3057.page#12061</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3057.page#12061</link>
				<pubDate><![CDATA[Wed, 12 Dec 2012 06:46:02]]> GMT</pubDate>
				<author><![CDATA[ Karaca]]></author>
			</item>
			<item>
				<title>Re:Missing data at the end of German postal code batch file</title>
				<description><![CDATA[ <p></p>

		<cite>Karaca wrote:</cite><br>
		<blockquote>
Actually the data should be enriched first if possible. For someone living in Sachsen it is 10 Min. work to add all  required fields above.
&nbsp;
		</blockquote>

Please feel free to help :-)]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3057.page#12099</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3057.page#12099</link>
				<pubDate><![CDATA[Wed, 2 Jan 2013 18:19:29]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>