<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re. :google maps coordinates lookup issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/google-maps-coordinates-lookup-issue/m-p/166451#M38413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Martin,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I think I figured it out. I think it might have been a slow internet connection. I changed the sleep from 100 to 150 and it seemed to do the trick. Could be a coincidence but all is working now.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 May 2010 03:29:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-27T03:29:48Z</dc:date>
    <item>
      <title>google maps coordinates lookup issue</title>
      <link>https://community.qlik.com/t5/QlikView/google-maps-coordinates-lookup-issue/m-p/166449#M38411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having an issue with this script that I found in the shared QVWs that looks up coordinates for "City State Zip" addresses. I was hoping someone could shed some light on the subject because it seems to return incorrect coordinates for some not all of the addresses. I cross verified some of the locations that were incorrect by putting their URLs in the browser and the browser returns the correct longitude and latitude.&lt;/P&gt;&lt;P&gt;Here is the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;B&gt;let vCounter = fieldvaluecount('CityState');&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;for i=1 to $(vCounter) ;&lt;BR /&gt;let vExcelFieldValue = FieldValue('CityState',$(i));&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;set ErrorMode = 0;&lt;BR /&gt;sleep 100 ; // server timeout Google&lt;BR /&gt;&lt;BR /&gt;Adresses:&lt;BR /&gt;ADD LOAD&lt;BR /&gt; $(i) as num,&lt;BR /&gt;@1,&lt;BR /&gt; @2,&lt;BR /&gt; @3 as latitude,&lt;BR /&gt; @4 as longitude,&lt;BR /&gt; now() as Quand,&lt;BR /&gt; '$(vExcelFieldValue)' as CityState,&lt;BR /&gt; 1 as Top&lt;BR /&gt;FROM&lt;BR /&gt;[http://maps.google.com/maps/geo?q=$(vExcelFieldValue)&amp;amp;gl=us&amp;amp;output=csv&amp;amp;ie=utf-8&amp;amp;sensor=false&amp;amp;key=$(gmap_key)]&lt;BR /&gt;(txt, codepage is 1252, explicit labels, delimiter is ',', msq);&lt;BR /&gt;next i ;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 20:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/google-maps-coordinates-lookup-issue/m-p/166449#M38411</guid>
      <dc:creator />
      <dc:date>2010-05-26T20:44:32Z</dc:date>
    </item>
    <item>
      <title>Re. :google maps coordinates lookup issue</title>
      <link>https://community.qlik.com/t5/QlikView/google-maps-coordinates-lookup-issue/m-p/166450#M38412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Remove the line "set ErrorMode = 0;" and describe your error.&lt;/P&gt;&lt;P&gt;This line ignore the failure and continue script execution.&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 22:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/google-maps-coordinates-lookup-issue/m-p/166450#M38412</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-26T22:15:21Z</dc:date>
    </item>
    <item>
      <title>Re. :google maps coordinates lookup issue</title>
      <link>https://community.qlik.com/t5/QlikView/google-maps-coordinates-lookup-issue/m-p/166451#M38413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Martin,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I think I figured it out. I think it might have been a slow internet connection. I changed the sleep from 100 to 150 and it seemed to do the trick. Could be a coincidence but all is working now.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 03:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/google-maps-coordinates-lookup-issue/m-p/166451#M38413</guid>
      <dc:creator />
      <dc:date>2010-05-27T03:29:48Z</dc:date>
    </item>
  </channel>
</rss>

