<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>codesofa &#187; stations</title>
	<atom:link href="http://codesofa.com/blog/archive/tag/stations/feed" rel="self" type="application/rss+xml" />
	<link>http://codesofa.com</link>
	<description>chaotic. pragmatic. smart(ass).</description>
	<lastBuildDate>Wed, 04 Aug 2010 16:05:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>There are friends and there are friends..</title>
		<link>http://codesofa.com/blog/archive/2008/08/22/there-are-friends-and-there-are-friends.html</link>
		<comments>http://codesofa.com/blog/archive/2008/08/22/there-are-friends-and-there-are-friends.html#comments</comments>
		<pubDate>Thu, 21 Aug 2008 23:06:44 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[GottaGo]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[nearby]]></category>
		<category><![CDATA[sbb]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[stations]]></category>

		<guid isPermaLink="false">http://lab.codesofa.com/blog/archive/2008/08/22/there-are-friends-and-there-are-friends.html</guid>
		<description><![CDATA[If you&#8217;ve ever used &#8220;GottaGo&#8220;, you might have experienced it from time to time: The stations around you disappear on the &#8220;Closest&#8221; Screen. Why does this happen? Let me explain. So far, I used the nearby search from Google to get a list of stations around you. Fairly simple. But.. SBB.ch does i.e. not understand [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever used &#8220;<a href="http://liip.to/gottago">GottaGo</a>&#8220;, you might have experienced it from time to time: The stations around you disappear on the &#8220;Closest&#8221; Screen.</p>
<p>Why does this happen? Let me explain.</p>
<p>So far, I used the <a href="http://maps.google.com">nearby search</a> from <a href="http://google.com">Google</a> to get a list of stations around you. Fairly simple. But.. <a href="http://sbb.ch">SBB.ch</a> does i.e. not understand &#8220;Bäckeranlage&#8221; but &#8220;Zürich, Bäckeranlage&#8221; which makes sense. But Google only provides &#8220;Bäckeranlage&#8221; &#8211; not so nice to map here. I&#8217;ve seen a comment in the AppStore from someone who noted this problem.. And he is right. This gave me a hard time.. [The fact that I'm in the exam session was no helpful either but nevermind :)]</p>
<p>How was the problem solved so far? With reverse geocoding. With the (great) API provided by <a href="http://www.geonames.org">geonames.org</a>, I could more or less flatten this problems out. More or less? Yes. In the logs (Yes, sorry, I keep logfiles, but it&#8217;s to improve the query results, nothing more. I don&#8217;t see any IDs or sth. Just from where to where you are going and what method was successful for your query) I saw that a lot of requests for simple station names had to be handled by the &#8220;Google Fallback&#8221; &#8211; which is obviously not intended. This &#8220;Google Fallback&#8221; should catch up, when/if you search for an address or a POI (like Subway Restaurant Zurich). Why is that? Because the city mapping from Swiss Postal Service and SBB are quite different. I.e. there is a &#8220;Klein-Basel&#8221; in their database, where there is only a &#8220;Basel&#8221; on the SBB side.  Then there are various ambiguous names, like &#8220;Bern / Liebefeld&#8221; which is also no hit on SBB.ch .. I guess you see the point.</p>
<p>Summary: Google returns list a stations which do not have the same name on SBB.ch which cannot alway be corrected because the reverse geocoder is not always &#8220;right&#8221;.</p>
<p>What do you do in your darkest hours? Yes, you ask your friends. There are friends. I&#8217;d call them &#8220;GottaGo&#8221;&#8216;s Baywatch ;) I was looking for a solution. Since we plan to release the next iteration very soon and we need a lot of work to do. (Btw.: we is me and <a href="http://sichr.com">Stefan Sicher from sichr.com</a> who is working on the new design like a crazy cow ;) &#8211; and no, that design from the last blogpost is not from him, that&#8217;s just a mock-design I used to illustrate the layout)</p>
<p>Again &#8211; solution. I asked the guys over at <a href="http://local.ch">local.ch</a> again to help me out. Guess what &#8211; they did. They didn&#8217;t even say &#8220;Yes, we will look into it&#8221; &#8211; no. Just &#8220;Yes, we do it. Just say what you need so I can do it _before_ holidays&#8221;. Really &#8211; how awesome is this? This will require a few more Horsepower to be squeezed out of my dear &#8220;<a href="http://marc.freeflux.net/blog/archive/2007/04/13/real-man-s-toys.html">gonzo</a>&#8221; but it&#8217;s a real breath of fresh air &#8211; the light at the end of the tunnel ;)</p>
<p>So you might wonder, what they will provide me.. A lot. First of all: Station-names as on SBB.ch (really exactly the same) together with coordinates (<a href="http://en.wikipedia.org/wiki/WGS84">WGS</a> coordinates, they used <a href="http://en.wikipedia.org/wiki/Swiss_coordinate_system">CH1903</a> so far). Together with their superfast services and customized XML interface, this will free us from bloated information we don&#8217;t really need and exact information we really need.</p>
<p>Then there is autocomplete. I was really worried about that.. (Really really worried. I set this up on another server so I could do it with a different IP-Address in case SBB.ch would block this). I got full permission and a customized API to do autocomplete stuff on <a href="http://local.ch">local.ch</a> .. Again: superfast! (I know, SBB.ch does a lot more computing for that stuff, but it was really slow :))</p>
<p>As I read these lines, I wanted to tell Joel to bake a big cake so I could give it to the local team. For all those who asked me to open a Paypal account for donations or sth: abandon <a href="http://endoftheinternet.com">search.ch</a> and use <a href="http://local.ch">local.ch</a> from now on! ;) that would result in a win &#8211; win situation for all of us :)</p>
<p>Again: I just want to thank you <a href="http://blog.local.ch/">guys over at local.ch</a>, namely Vasile, Patrice, Ebi and Joel for your effort. I hope the users will appreciate it as much as I do :)</p>
]]></content:encoded>
			<wfw:commentRss>http://codesofa.com/blog/archive/2008/08/22/there-are-friends-and-there-are-friends.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->