<?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: Extract latitude and Longitude using QV Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-latitude-and-Longitude-using-QV-Script/m-p/544289#M688357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this script, I am getting the values.&amp;nbsp; May be check whether the proxy is blocking any request.&amp;nbsp; In some companies they will block, you check in machine which has full internet access without any blocking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GeocodeResponse:&lt;/P&gt;&lt;P&gt;LOAD status,&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/location/lat] as [location/lat],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/location/lng] as [location/lng],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %Key_GeocodeResponse_62C7A0A69859D655&amp;nbsp;&amp;nbsp;&amp;nbsp; // Key for this table: GeocodeResponse&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://maps.googleapis.com/maps/api/geocode/xml?address=Delhi&amp;amp;sensor=false"&gt;http://maps.googleapis.com/maps/api/geocode/xml?address=Delhi&amp;amp;sensor=false&lt;/A&gt;&lt;SPAN&gt;] (XmlSimple, Table is [GeocodeResponse]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 02:21:17 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-12-09T02:21:17Z</dc:date>
    <item>
      <title>Extract latitude and Longitude using QV Script</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-latitude-and-Longitude-using-QV-Script/m-p/544287#M688355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to extract lat and lon from google map using following script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;address:&lt;/P&gt;&lt;P&gt;LOAD A as Address&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, no labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let noRows = NoOfRows('address')-1;&lt;/P&gt;&lt;P&gt;for i=0 to $(noRows)&lt;/P&gt;&lt;P&gt;let a=peek('Address',$(i),'address');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;'$(a)' as Address,&lt;/P&gt;&lt;P&gt;[result/geometry/location/lng] AS longitude,&lt;/P&gt;&lt;P&gt;[result/geometry/location/lat] AS latitude&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://maps.googleapis.com/maps/api/geocode/xml?address=$(a)&amp;amp;sensor=false];"&gt;http://maps.googleapis.com/maps/api/geocode/xml?address=$(a)&amp;amp;sensor=false];&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Table address;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i load this script then an error comes &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;[result/geometry/location/lng] &lt;/STRONG&gt;&lt;/SPAN&gt; not found . &lt;/P&gt;&lt;P&gt;but when i check &lt;A href="http://maps.googleapis.com/maps/api/geocode/xml?address=$(a)&amp;amp;sensor=false" title="http://maps.googleapis.com/maps/api/geocode/xml?address=$(a)&amp;amp;sensor=false"&gt;http://maps.googleapis.com/maps/api/geocode/xml?address=Delhi&amp;amp;sensor=false&lt;/A&gt;&lt;/P&gt;&lt;P&gt;this link in internet file it will show same path as i used .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 15:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-latitude-and-Longitude-using-QV-Script/m-p/544287#M688355</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2013-12-07T15:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extract latitude and Longitude using QV Script</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-latitude-and-Longitude-using-QV-Script/m-p/544288#M688356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp; See&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/433531#433531"&gt;http://community.qlik.com/message/433531#433531&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro Furtado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 01:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-latitude-and-Longitude-using-QV-Script/m-p/544288#M688356</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2013-12-09T01:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extract latitude and Longitude using QV Script</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-latitude-and-Longitude-using-QV-Script/m-p/544289#M688357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this script, I am getting the values.&amp;nbsp; May be check whether the proxy is blocking any request.&amp;nbsp; In some companies they will block, you check in machine which has full internet access without any blocking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GeocodeResponse:&lt;/P&gt;&lt;P&gt;LOAD status,&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/location/lat] as [location/lat],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/location/lng] as [location/lng],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %Key_GeocodeResponse_62C7A0A69859D655&amp;nbsp;&amp;nbsp;&amp;nbsp; // Key for this table: GeocodeResponse&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://maps.googleapis.com/maps/api/geocode/xml?address=Delhi&amp;amp;sensor=false"&gt;http://maps.googleapis.com/maps/api/geocode/xml?address=Delhi&amp;amp;sensor=false&lt;/A&gt;&lt;SPAN&gt;] (XmlSimple, Table is [GeocodeResponse]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 02:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-latitude-and-Longitude-using-QV-Script/m-p/544289#M688357</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-09T02:21:17Z</dc:date>
    </item>
  </channel>
</rss>

