<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Kommentare zu: Geocoding mit Excel</title>
	<atom:link href="http://joergnapp.de/geocoding_mit_excel/feed/" rel="self" type="application/rss+xml" />
	<link>http://joergnapp.de/geocoding_mit_excel/</link>
	<description>Ich bin root, ich darf das</description>
	<lastBuildDate>Tue, 31 Jan 2012 08:09:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Von: MerlinTransporte</title>
		<link>http://joergnapp.de/geocoding_mit_excel/comment-page-1/#comment-276</link>
		<dc:creator>MerlinTransporte</dc:creator>
		<pubDate>Thu, 22 Sep 2011 14:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://joergnapp.de/2007/09/20/geocoding-mit-excel/#comment-276</guid>
		<description>Hallo!

Mittlerweile habe ich eine L&#246;sung gefunden: Google bietet eine &#228;hnliche Funktion wie yahoo. Sendet man eine Anfrage an

http://maps.google.com/maps/geo?output=xml&amp;sensor=false&amp;key=abcdefg&amp;q=

gefolgt von der Stra&#223;enadresse, dann bekommt man wie bei yahoo eine XML-Datei zur&#252;ck.

F&#252;r alle, die es interessiert, anbei der Libreoffice-Code, der die Koordinaten in sCoordinates ausspuckt.
(Vorsicht mit sLatitude und sLongitude: das sind nur extrem rudiment&#228;r ausgewertete Substrings, die auf unsere Situation zugeschnitten sind (L&#228;ngengrad hat bei uns immer eine Stelle vor dem Komma, Breitengrad immer zwei).)

Hoffe, es hilft.
Gru&#223;,
Dirk

Function GetGeoData(sSearch as String) as String
   If Len(sSearch) = 0 Then Exit Function
   URL = &quot;http://maps.google.com/maps/geo?output=xml&amp;sensor=false&amp;key=abcdefg&amp;q=&quot;  
   URL = URL &amp; sSearch
   oSimpleFileAccess = createUnoService( &quot;com.sun.star.ucb.SimpleFileAccess&quot; )
   On Error GoTo ErrorResponse
   oInputStream = oSimpleFileAccess.openFileRead(URL)
   oTextStream = createUnoService(&quot;com.sun.star.io.TextInputStream&quot;)
   oTextStream.InputStream = oInputStream
   aDelimiters = Array(ASC(&quot;&gt;&quot;),ASC(&quot;&lt;&quot;))
   sLastString = &quot;&quot;
   Do While NOT oTextStream.isEOF
      sThisString = oTextStream.readString(aDelimiters,True)
      Select Case sLastString
         Case &quot;coordinates&quot;:
            sCoordinates = sThisString
         Case &quot;PostalCodeNumber&quot;:
            sPLZ = sThisString
         Case &quot;CountryName&quot;:
            sState = sThisString
         Case &quot;ThoroughfareName&quot;:
            sAddress = sThisString
         Case &quot;DependentLocalityName&quot;:
            sCity = sThisString
      End Select
      sLastString = sThisString
   Loop
   sLongitude = Left(sCoordinates,7)
   sLatitude = Mid(sCoordinates,InStr(sCoordinates,&quot;,&quot;)+1,8)
   if sAddress = &quot;&quot; then
   GetGeoData = &quot;ACHTUNG!!!ACHTUNG!!! &quot; &amp; sPLZ &amp; &quot; &quot; &amp; sCity &amp; Chr(13) &amp; _
             &quot;Stra&#223;e: &quot; &amp; sAddress &amp; Chr(13) &amp; &quot; Koordinaten: &quot; &amp; _
             sCoordinates &amp; Chr(13) &amp; &quot; L&#228;ngengrad: &quot; &amp; sLongitude &amp; &quot; Breitengrad: &quot; &amp;sLatitude
   else
      GetGeoData = sPLZ &amp; &quot; &quot; &amp; sCity &amp; Chr(13) &amp; _
             &quot;Stra&#223;e: &quot; &amp; sAddress &amp; Chr(13) &amp; &quot; Koordinaten: &quot; &amp; _
             sCoordinates &amp; Chr(13) &amp; &quot; L&#228;ngengrad: &quot; &amp; sLongitude &amp; &quot; Breitengrad: &quot; &amp;sLatitude
   end if      
   oInputStream.closeInput()
   Exit Function
   ErrorResponse:
   GetGeoData = &quot;Kein Ergebnis gefunden!!!&quot;
End Function</description>
		<content:encoded><![CDATA[<p>Hallo!</p>
<p>Mittlerweile habe ich eine L&#246;sung gefunden: Google bietet eine &#228;hnliche Funktion wie yahoo. Sendet man eine Anfrage an</p>
<p><a href="http://maps.google.com/maps/geo?output=xml&#038;sensor=false&#038;key=abcdefg&#038;q" >http://maps.google.com/maps/geo?output=xml&#038;sensor=false&#038;key=abcdefg&#038;q</a>=</p>
<p>gefolgt von der Stra&#223;enadresse, dann bekommt man wie bei yahoo eine XML-Datei zur&#252;ck.</p>
<p>F&#252;r alle, die es interessiert, anbei der Libreoffice-Code, der die Koordinaten in sCoordinates ausspuckt.<br />
(Vorsicht mit sLatitude und sLongitude: das sind nur extrem rudiment&#228;r ausgewertete Substrings, die auf unsere Situation zugeschnitten sind (L&#228;ngengrad hat bei uns immer eine Stelle vor dem Komma, Breitengrad immer zwei).)</p>
<p>Hoffe, es hilft.<br />
Gru&#223;,<br />
Dirk</p>
<p>Function GetGeoData(sSearch as String) as String<br />
   If Len(sSearch) = 0 Then Exit Function<br />
   URL = &#8220;http://maps.google.com/maps/geo?output=xml&amp;sensor=false&amp;key=abcdefg&amp;q=&#8221;<br />
   URL = URL &amp; sSearch<br />
   oSimpleFileAccess = createUnoService( &#8220;com.sun.star.ucb.SimpleFileAccess&#8221; )<br />
   On Error GoTo ErrorResponse<br />
   oInputStream = oSimpleFileAccess.openFileRead(URL)<br />
   oTextStream = createUnoService(&#8220;com.sun.star.io.TextInputStream&#8221;)<br />
   oTextStream.InputStream = oInputStream<br />
   aDelimiters = Array(ASC(&#8220;&gt;&#8221;),ASC(&#8220;&lt;&quot;))<br />
   sLastString = &quot;&quot;<br />
   Do While NOT oTextStream.isEOF<br />
      sThisString = oTextStream.readString(aDelimiters,True)<br />
      Select Case sLastString<br />
         Case &quot;coordinates&quot;:<br />
            sCoordinates = sThisString<br />
         Case &quot;PostalCodeNumber&quot;:<br />
            sPLZ = sThisString<br />
         Case &quot;CountryName&quot;:<br />
            sState = sThisString<br />
         Case &quot;ThoroughfareName&quot;:<br />
            sAddress = sThisString<br />
         Case &quot;DependentLocalityName&quot;:<br />
            sCity = sThisString<br />
      End Select<br />
      sLastString = sThisString<br />
   Loop<br />
   sLongitude = Left(sCoordinates,7)<br />
   sLatitude = Mid(sCoordinates,InStr(sCoordinates,&quot;,&quot;)+1,8)<br />
   if sAddress = &quot;&quot; then<br />
   GetGeoData = &quot;ACHTUNG!!!ACHTUNG!!! &quot; &amp; sPLZ &amp; &quot; &quot; &amp; sCity &amp; Chr(13) &amp; _<br />
             &quot;Stra&#223;e: &quot; &amp; sAddress &amp; Chr(13) &amp; &quot; Koordinaten: &quot; &amp; _<br />
             sCoordinates &amp; Chr(13) &amp; &quot; L&#228;ngengrad: &quot; &amp; sLongitude &amp; &quot; Breitengrad: &quot; &amp;sLatitude<br />
   else<br />
      GetGeoData = sPLZ &amp; &quot; &quot; &amp; sCity &amp; Chr(13) &amp; _<br />
             &quot;Stra&#223;e: &quot; &amp; sAddress &amp; Chr(13) &amp; &quot; Koordinaten: &quot; &amp; _<br />
             sCoordinates &amp; Chr(13) &amp; &quot; L&#228;ngengrad: &quot; &amp; sLongitude &amp; &quot; Breitengrad: &quot; &amp;sLatitude<br />
   end if<br />
   oInputStream.closeInput()<br />
   Exit Function<br />
   ErrorResponse:<br />
   GetGeoData = &quot;Kein Ergebnis gefunden!!!&quot;<br />
End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: MerlinTransporte</title>
		<link>http://joergnapp.de/geocoding_mit_excel/comment-page-1/#comment-271</link>
		<dc:creator>MerlinTransporte</dc:creator>
		<pubDate>Tue, 20 Sep 2011 12:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://joergnapp.de/2007/09/20/geocoding-mit-excel/#comment-271</guid>
		<description>Hallo!

Seit heute funktioniert diese Methode scheinbar nicht mehr. Sieht so aus als h&#228;tte Yahoo die Maps API eingestellt:
http://developer.yahoo.com/maps/

Wie komme ich nun mit OpenOffice/LibreOffice Calc an die Koordinaten einer Adresse ran? Hat irgendjemand Ideen bez&#252;glich GoogleMaps, Openstreetmaps, OviMaps, o.&#228;.?

Sch&#246;ne Gr&#252;&#223;e,
Dirk</description>
		<content:encoded><![CDATA[<p>Hallo!</p>
<p>Seit heute funktioniert diese Methode scheinbar nicht mehr. Sieht so aus als h&#228;tte Yahoo die Maps API eingestellt:<br />
<a href="http://developer.yahoo.com/maps/" >http://developer.yahoo.com/maps/</a></p>
<p>Wie komme ich nun mit OpenOffice/LibreOffice Calc an die Koordinaten einer Adresse ran? Hat irgendjemand Ideen bez&#252;glich GoogleMaps, Openstreetmaps, OviMaps, o.&#228;.?</p>
<p>Sch&#246;ne Gr&#252;&#223;e,<br />
Dirk</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: wabo</title>
		<link>http://joergnapp.de/geocoding_mit_excel/comment-page-1/#comment-265</link>
		<dc:creator>wabo</dc:creator>
		<pubDate>Tue, 26 Jul 2011 10:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://joergnapp.de/2007/09/20/geocoding-mit-excel/#comment-265</guid>
		<description>Echt Spitze, gibt es auch die M&#246;glichkeit eine Stra&#223;enkreuzung (A-Stra&#223;e mit B-Stra&#223;e)zu &quot;geocodieren&quot; ?
mfg wabo</description>
		<content:encoded><![CDATA[<p>Echt Spitze, gibt es auch die M&#246;glichkeit eine Stra&#223;enkreuzung (A-Stra&#223;e mit B-Stra&#223;e)zu &#8220;geocodieren&#8221; ?<br />
mfg wabo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Michae´l Feske</title>
		<link>http://joergnapp.de/geocoding_mit_excel/comment-page-1/#comment-261</link>
		<dc:creator>Michae´l Feske</dc:creator>
		<pubDate>Sat, 14 May 2011 15:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://joergnapp.de/2007/09/20/geocoding-mit-excel/#comment-261</guid>
		<description>Super Sache, nach der ich lange gegoogelt habe, werde ich mal ausprobieren. Danke Dir schon jetzt.
Gru&#223;
Micha</description>
		<content:encoded><![CDATA[<p>Super Sache, nach der ich lange gegoogelt habe, werde ich mal ausprobieren. Danke Dir schon jetzt.<br />
Gru&#223;<br />
Micha</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Jörg</title>
		<link>http://joergnapp.de/geocoding_mit_excel/comment-page-1/#comment-30</link>
		<dc:creator>Jörg</dc:creator>
		<pubDate>Tue, 08 Jul 2008 17:47:51 +0000</pubDate>
		<guid isPermaLink="false">http://joergnapp.de/2007/09/20/geocoding-mit-excel/#comment-30</guid>
		<description>In http://joergnapp.de/2008/07/08/geocoding-mit-excel-reloaded/ ist die Excel-Datei zum Download ;-)</description>
		<content:encoded><![CDATA[<p>In <a href="http://joergnapp.de/2008/07/08/geocoding-mit-excel-reloaded/" >http://joergnapp.de/2008/07/08/geocoding-mit-excel-reloaded/</a> ist die Excel-Datei zum Download <img src='http://joergnapp.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Matze</title>
		<link>http://joergnapp.de/geocoding_mit_excel/comment-page-1/#comment-21</link>
		<dc:creator>Matze</dc:creator>
		<pubDate>Thu, 05 Jun 2008 19:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://joergnapp.de/2007/09/20/geocoding-mit-excel/#comment-21</guid>
		<description>Hallo J&#246;rg,
ich suche genau eine solche L&#246;sung, wie du in &quot;Geocoding mit Excel&quot; aufzeigst. Ich bekomme es aber nicht zum laufen :(
Ich erhalte eine Fehlermeldung sobald die &quot;falsche?&quot; URL mit request.send senden m&#246;chte.
Die URL im VBA-code wird ja so nicht als String akzeptiert. Ich habe unterschiedliche urls getestet und bekomme im Browser (firefox) auch richtige Ergebisse. 
(zb. url = YahooURL &amp; &quot;?appid=%22&quot; &amp; APPID &amp; &quot;%22&quot; &amp; Chr(38) &amp; &quot;location=&quot; &amp; Address)

Kannst du mir einen Tipp geben was ich falsch mache?
Vielen Dank
Matze</description>
		<content:encoded><![CDATA[<p>Hallo J&#246;rg,<br />
ich suche genau eine solche L&#246;sung, wie du in &#8220;Geocoding mit Excel&#8221; aufzeigst. Ich bekomme es aber nicht zum laufen <img src='http://joergnapp.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Ich erhalte eine Fehlermeldung sobald die &#8220;falsche?&#8221; URL mit request.send senden m&#246;chte.<br />
Die URL im VBA-code wird ja so nicht als String akzeptiert. Ich habe unterschiedliche urls getestet und bekomme im Browser (firefox) auch richtige Ergebisse.<br />
(zb. url = YahooURL &amp; &#8220;?appid=%22&#8243; &amp; APPID &amp; &#8220;%22&#8243; &amp; Chr(38) &amp; &#8220;location=&#8221; &amp; Address)</p>
<p>Kannst du mir einen Tipp geben was ich falsch mache?<br />
Vielen Dank<br />
Matze</p>
]]></content:encoded>
	</item>
</channel>
</rss>

