<?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 Formatting location codes for QlikMaps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formatting-location-codes-for-QlikMaps/m-p/84505#M13869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to convert some location codes in a load script into a format that QlikMaps is able to render. I have longitude and latitude codes in the following format that does not work in QlikMaps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="106" style="border: 1px solid #000000; border-image: none; width: 452px; height: 108px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Latitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Longitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;+31198782&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-084101689&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;+28623788&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-081127853&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;+33478138&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-082007668&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that QlikMaps is looking for these location codes in a format like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; border-image: none; width: 454px; height: 98px;" width="453"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Latitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Longitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;31.198782&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-08.4101689&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;28.623788&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-08.1127853&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;33.478138&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-08.2007668&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know a way to convert these codes into a format that QlikMaps can understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Mar 2018 15:21:57 GMT</pubDate>
    <dc:creator>lbunnell</dc:creator>
    <dc:date>2018-03-25T15:21:57Z</dc:date>
    <item>
      <title>Formatting location codes for QlikMaps</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-location-codes-for-QlikMaps/m-p/84505#M13869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to convert some location codes in a load script into a format that QlikMaps is able to render. I have longitude and latitude codes in the following format that does not work in QlikMaps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="106" style="border: 1px solid #000000; border-image: none; width: 452px; height: 108px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Latitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Longitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;+31198782&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-084101689&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;+28623788&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-081127853&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;+33478138&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-082007668&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that QlikMaps is looking for these location codes in a format like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; border-image: none; width: 454px; height: 98px;" width="453"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Latitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Longitude&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;31.198782&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-08.4101689&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;28.623788&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-08.1127853&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;33.478138&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;-08.2007668&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know a way to convert these codes into a format that QlikMaps can understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2018 15:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-location-codes-for-QlikMaps/m-p/84505#M13869</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2018-03-25T15:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting location codes for QlikMaps</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-location-codes-for-QlikMaps/m-p/84506#M13870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lawrence, you can try with num#() and strings concatenations:&lt;/P&gt;&lt;P&gt;=num#(Left(Longitude,3)&amp;amp;'.'&amp;amp;Mid(Longitude, 4),'#0.0000000', '.', ',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, if all values have the same lenght:&lt;/P&gt;&lt;P&gt;Latitude/1e7 //1e7 = 10000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2018 17:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-location-codes-for-QlikMaps/m-p/84506#M13870</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-03-25T17:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting location codes for QlikMaps</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-location-codes-for-QlikMaps/m-p/84507#M13871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that Longitude/1e6 works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2018 20:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-location-codes-for-QlikMaps/m-p/84507#M13871</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2018-03-25T20:36:54Z</dc:date>
    </item>
  </channel>
</rss>

