<?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: KML File - UK Electoral Wards in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297446#M27459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks for your reply.&amp;nbsp; Can you share the app to geocode my data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 15:07:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-11T15:07:51Z</dc:date>
    <item>
      <title>KML File - UK Electoral Wards</title>
      <link>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297442#M27455</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;I have created a UK polygon map in Qliksense which is based on Unitary Authority based on these boundaries :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ua_areas.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159704_ua_areas.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I now need to take this down a level to Electoral wards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for example, the very south west would look like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="cornwall electoral wards.PNG" class="jive-image image-2" src="/legacyfs/online/159705_cornwall electoral wards.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to locate a KML file at this level. Does anyone have any advice or links to files at this level??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TJM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 07:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297442#M27455</guid>
      <dc:creator />
      <dc:date>2017-04-11T07:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: KML File - UK Electoral Wards</title>
      <link>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297443#M27456</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;this is not related to Qlik, rather where to get geodata for your app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks, like you can find what you are looking for here &lt;A href="https://data.gov.uk/dataset/counties-and-unitary-authorities-december-2015-full-extent-boundaries-in-england-and-wales" title="https://data.gov.uk/dataset/counties-and-unitary-authorities-december-2015-full-extent-boundaries-in-england-and-wales"&gt;https://data.gov.uk/dataset/counties-and-unitary-authorities-december-2015-full-extent-boundaries-in-england-and-wales&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you can try Mapbox or ArcGIS and download vector maps from there (needs some dev experience)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though I would suggest to stay away from KML and move to point maps. Just my 2 cents, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 07:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297443#M27456</guid>
      <dc:creator>vyacheslavg</dc:creator>
      <dc:date>2017-04-11T07:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: KML File - UK Electoral Wards</title>
      <link>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297444#M27457</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;Thanks for the link to this.&amp;nbsp; I'm new to the structure of KML files&amp;nbsp; the tags in this file seem to be separating the file into tables when I try and import it :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="kml_post_code_sectors.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159748_kml_post_code_sectors.PNG" style="height: 421px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has exactly what I need but is this to be expected.&amp;nbsp; It is taking very long to load as well.&lt;/P&gt;&lt;P&gt;Many thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TJM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 14:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297444#M27457</guid>
      <dc:creator />
      <dc:date>2017-04-11T14:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: KML File - UK Electoral Wards</title>
      <link>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297445#M27458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, i would suggest to use point maps.&lt;/P&gt;&lt;P&gt;There are really beautiful extensions on branch.&lt;/P&gt;&lt;P&gt;With CartoDB you can add time dimension to election results.&lt;/P&gt;&lt;P&gt;With Google maps you can use clustering, custom markers and HTML popups.&lt;/P&gt;&lt;P&gt;And Mapbox webgl based extension is simply beauty in itself...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the QS app to geocode your data (get lats and longs) - let me know. It takes csv with any addresses (even messy ones) and clears it thru Google Maps API.&lt;/P&gt;&lt;P&gt;You can use the app in Qlik directly (then Google will be the provider of coordinates), or&amp;nbsp; you can google the Geo Python library (then you can choose from many providers, including Mapbox, which is used by Qlik itself to geocode the data).&lt;/P&gt;&lt;P&gt;Getting coords _seems_ like some overhead over what you can do with kml or with geocoding, embedded in Tableau.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in reality, when you have Moscow, Moskow, Moskva, Moskwa, Mooskva in your dataset and you need to normalize it, you will certainly appreciate the combined power of Google and Qlik &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this helpful, would appreciate the like or "helpful" answer. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 14:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297445#M27458</guid>
      <dc:creator>vyacheslavg</dc:creator>
      <dc:date>2017-04-11T14:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: KML File - UK Electoral Wards</title>
      <link>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297446#M27459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks for your reply.&amp;nbsp; Can you share the app to geocode my data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297446#M27459</guid>
      <dc:creator />
      <dc:date>2017-04-11T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: KML File - UK Electoral Wards</title>
      <link>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297447#M27460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put the code in new or existing app.&lt;/P&gt;&lt;P&gt;Create vFile and vKey expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Populate temporary table with distinct address values&lt;/P&gt;&lt;P&gt;//These can be postcodes, street addresses or city names&lt;/P&gt;&lt;P&gt;//**Be careful of ambiguous address information as if unsure, Google will guess**&lt;/P&gt;&lt;P&gt;// create expression vFile - and add full path to csv file with addresses. Header is Address. &lt;/P&gt;&lt;P&gt;// create expression vKey and paste your Google API, which is enabled for Maps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Address as tmpAddress&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(vFile)]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Loop through address values, polling Google Maps for latitude and longitude info&lt;/P&gt;&lt;P&gt;for vRow = 0 to NoOfRows('tmp') -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vAddress = peek('tmpAddress', vRow, 'tmp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Latest API call update 02/03/2016&lt;/P&gt;&lt;P&gt;&amp;nbsp; Addresses:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; '$(vAddress)' as Address,&lt;/P&gt;&lt;P&gt;&amp;nbsp; status,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/type] as type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/formatted_address] as formatted_address,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/place_id] as place_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/location_type] as location_type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/viewport/northeast/lat] as [northeast/lat],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/viewport/northeast/lng] as [northeast/lng],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/viewport/southwest/lat] as [southwest/lat],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [result/geometry/viewport/southwest/lng] as [southwest/lng],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&amp;nbsp; [result/geometry/location/lng] as [location/lng]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://maps.googleapis.com/maps/api/geocode/xml?address=$(vAddress)&amp;amp;key=$(vKey" rel="nofollow" target="_blank"&gt;https://maps.googleapis.com/maps/api/geocode/xml?address=$(vAddress)&amp;amp;key=$(vKey&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;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Drop temporary table&lt;/P&gt;&lt;P&gt;DROP Table tmp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 16:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KML-File-UK-Electoral-Wards/m-p/1297447#M27460</guid>
      <dc:creator>vyacheslavg</dc:creator>
      <dc:date>2017-04-11T16:27:47Z</dc:date>
    </item>
  </channel>
</rss>

