<?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 Load Data from gisgraphy / xml source in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Data-from-gisgraphy-xml-source/m-p/474348#M686364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV User's and Developers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im looking for a hint or solution to load data from a web-source (gisgraphy, example: &lt;A href="http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010" title="http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010"&gt;http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010 ) .&lt;/A&gt;. (of course i set up my own server, but this public server is for example, so please use it with care), result is xml: example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;results&amp;gt;&amp;lt;numFound&amp;gt;1&amp;lt;/numFound&amp;gt;&amp;lt;QTime&amp;gt;86&amp;lt;/QTime&amp;gt;&amp;lt;result&amp;gt;&amp;lt;id&amp;gt;2761369&amp;lt;/id&amp;gt;&amp;lt;lng&amp;gt;16.372079849243164&amp;lt;/lng&amp;gt;&amp;lt;lat&amp;gt;48.20848846435547&amp;lt;/lat&amp;gt;&amp;lt;geocodingLevel&amp;gt;CITY&amp;lt;/geocodingLevel&amp;gt;&amp;lt;name&amp;gt;Vienna&amp;lt;/name&amp;gt;&amp;lt;zipCode&amp;gt;1010&amp;lt;/zipCode&amp;gt;&amp;lt;city&amp;gt;Vienna&amp;lt;/city&amp;gt;&amp;lt;state&amp;gt;Politischer Bezirk Wien (Stadt)&amp;lt;/state&amp;gt;&amp;lt;countryCode&amp;gt;AT&amp;lt;/countryCode&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/results&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table with postcodes, and i want to join or create a new table with long and lat from that source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to query every entry in that postcodes table against my gisgaphy server, is that possible with QV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you soo much for every little hint!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jan 2014 10:55:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-07T10:55:48Z</dc:date>
    <item>
      <title>Load Data from gisgraphy / xml source</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Data-from-gisgraphy-xml-source/m-p/474348#M686364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV User's and Developers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im looking for a hint or solution to load data from a web-source (gisgraphy, example: &lt;A href="http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010" title="http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010"&gt;http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010 ) .&lt;/A&gt;. (of course i set up my own server, but this public server is for example, so please use it with care), result is xml: example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;results&amp;gt;&amp;lt;numFound&amp;gt;1&amp;lt;/numFound&amp;gt;&amp;lt;QTime&amp;gt;86&amp;lt;/QTime&amp;gt;&amp;lt;result&amp;gt;&amp;lt;id&amp;gt;2761369&amp;lt;/id&amp;gt;&amp;lt;lng&amp;gt;16.372079849243164&amp;lt;/lng&amp;gt;&amp;lt;lat&amp;gt;48.20848846435547&amp;lt;/lat&amp;gt;&amp;lt;geocodingLevel&amp;gt;CITY&amp;lt;/geocodingLevel&amp;gt;&amp;lt;name&amp;gt;Vienna&amp;lt;/name&amp;gt;&amp;lt;zipCode&amp;gt;1010&amp;lt;/zipCode&amp;gt;&amp;lt;city&amp;gt;Vienna&amp;lt;/city&amp;gt;&amp;lt;state&amp;gt;Politischer Bezirk Wien (Stadt)&amp;lt;/state&amp;gt;&amp;lt;countryCode&amp;gt;AT&amp;lt;/countryCode&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/results&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table with postcodes, and i want to join or create a new table with long and lat from that source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to query every entry in that postcodes table against my gisgaphy server, is that possible with QV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you soo much for every little hint!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 10:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Data-from-gisgraphy-xml-source/m-p/474348#M686364</guid>
      <dc:creator />
      <dc:date>2014-01-07T10:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load Data from gisgraphy / xml source</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Data-from-gisgraphy-xml-source/m-p/474349#M686365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of my understanding, you want load the latitude &amp;amp; longitude for each ZipCode in the other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, we can create the FOR Loop for each ZipCode and load the Latitude &amp;amp; Longitude from XML source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the below script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE: // Lets Assume this table having ZipCodes&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ZipCode&lt;/P&gt;&lt;P&gt;1010&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Creating the Loop for each ZipCode and load the respective xml file.&lt;/P&gt;&lt;P&gt;FOR i= 1 to FieldValueCount('ZipCode')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vZipCode&amp;nbsp; =&amp;nbsp; FieldValue('ZipCode',$(i)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Start of [geocode?country=AT&amp;amp;address=1010.com/geocoding/geocode?country=at&amp;amp;address=1010] LOAD statements&lt;/P&gt;&lt;P&gt;&amp;nbsp; results:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD numFound,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/id] as id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/lng] as lng,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/lat] as lat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geocodingLevel] as geocodingLevel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/name] as name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/zipCode] as ZipCode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/city] as city,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/state] as state,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/countryCode] as countryCode&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=$(vZipCode"&gt;http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=$(vZipCode&lt;/A&gt;&lt;SPAN&gt;)] (XmlSimple, Table is [results]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; //FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010"&gt;http://services.gisgraphy.com/geocoding/geocode?country=AT&amp;amp;address=1010&lt;/A&gt;&lt;SPAN&gt;] (XmlSimple, Table is [results]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // End of [geocode?country=AT&amp;amp;address=1010.com/geocoding/geocode?country=at&amp;amp;address=1010] LOAD statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 14:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Data-from-gisgraphy-xml-source/m-p/474349#M686365</guid>
      <dc:creator />
      <dc:date>2014-01-09T14:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Load Data from gisgraphy / xml source</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Data-from-gisgraphy-xml-source/m-p/474350#M686366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, Thank you soo much, i have not thought that it is thaaaat easy.&lt;/P&gt;&lt;P&gt;I never thought of a loading - method like that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 14:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Data-from-gisgraphy-xml-source/m-p/474350#M686366</guid>
      <dc:creator />
      <dc:date>2014-01-09T14:47:14Z</dc:date>
    </item>
  </channel>
</rss>

