<?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: Problem with map and getting the latitude/longitude in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483064#M1235260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But Ralf, how I am supposed to do that directly in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2013 23:44:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-09T23:44:33Z</dc:date>
    <item>
      <title>Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483061#M1235257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to update my database integrating with another different, and I am having now a problem when I try to see some maps that apply to certain places. it's like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database called "Company_Name", each linked to another called "meta_key", inside there is "service center capability", "location latitude" and "location longitude". When I click on "service center capability", it shows the capabilities the specified service center have. I want then, for example, choose one capability, for example (Aircraft&amp;nbsp;&amp;nbsp;&amp;nbsp; BASE&amp;nbsp; Phenom 300), then it shows in the map all Companies that perform this maintenance BASE on Phenom 300s. The problem is that doesn't work doing that, because they don't like the latitude and longitude directed to it... Attached is the problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me please???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you alot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483061#M1235257</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483062#M1235258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483062#M1235258</guid>
      <dc:creator />
      <dc:date>2013-09-09T20:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483063#M1235259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this has nothing to do with the map. It works if you select COMPANY_NAME which is the dimension of the map-chart. You should add a straight table with lat/long to see the result of your selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 21:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483063#M1235259</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-09-09T21:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483064#M1235260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But Ralf, how I am supposed to do that directly in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 23:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483064#M1235260</guid>
      <dc:creator />
      <dc:date>2013-09-09T23:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483065#M1235261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please upload something so I can see???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 23:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483065#M1235261</guid>
      <dc:creator />
      <dc:date>2013-09-09T23:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483066#M1235262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code for Generic Load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13787971275439882" jivemacro_uid="_13787971275439882"&gt;
&lt;P&gt;GenTable:&lt;/P&gt;
&lt;P&gt;Generic Load ID, meta_key, meta_value FROM wp_postmeta.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;WP_postmeta:&lt;/P&gt;
&lt;P&gt;LOAD Distinct ID FROM wp_postmeta.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR i = 0 to NoOfTables()&lt;/P&gt;
&lt;P&gt;&amp;nbsp; TableList:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD TableName($(i)) as Tablename AUTOGENERATE 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WHERE WildMatch(TableName($(i)), 'GenTable.*');&lt;/P&gt;
&lt;P&gt;NEXT i&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR i = 1 to FieldValueCount('Tablename')&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vTable = FieldValue('Tablename', $(i));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LEFT JOIN (WP_postmeta) LOAD * RESIDENT [$(vTable)];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DROP TABLE [$(vTable)];&lt;/P&gt;
&lt;P&gt;NEXT i&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LEFT JOIN (WP_postmeta) &lt;/P&gt;
&lt;P&gt;LOAD ID, max(LATITUDE) as LATITUDE1, max(LONGITUDE) AS LONGITUDE1&lt;/P&gt;
&lt;P&gt;FROM wp_postmeta.qvd (qvd)&lt;/P&gt;
&lt;P&gt;GROUP BY ID;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE TableList;&lt;/P&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;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see also attached QVW..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: There was a problem with the last JOIN. I fixed it..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 06:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483066#M1235262</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-09-10T06:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483067#M1235263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf, I don't even know how to say thank you for doing it! There's one more thing that I want to do, it's to use the substringcount formula to create a field (also linked with the latitude and longitude maps), that gets the 'servicecentercapability_manual', and filter what it is 'BASE Legacy 600', for example. I want for all aircrafts, but if do it for one, it would be already great. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you alot since now Ralf!!!!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 11:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483067#M1235263</guid>
      <dc:creator />
      <dc:date>2013-09-10T11:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483068#M1235264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a Details table which holds all occurances of 'servicecentercertificationcapability_manual':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13788143838944289" jivemacro_uid="_13788143838944289" modifiedtitle="true"&gt;
&lt;P&gt;Details:&lt;/P&gt;
&lt;P&gt;LOAD ID, subfield(servicecentercertificationcapability_manual, '||', IterNo()+1) as servicecentercertificationcapability&lt;/P&gt;
&lt;P&gt;Resident WP_postmeta&lt;/P&gt;
&lt;P&gt;While IterNo()&amp;lt;SubStringCount(servicecentercertificationcapability_manual, '||');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483068#M1235264</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-09-10T12:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483069#M1235265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf, this is just amazing, I am really grateful for this help, &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;I also managed to use it in another way, using substringcount directly in a multibox, wich also worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one more question, if I wanted to choose in a general way, for example "Phenom 100", because inside the &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;servicecentercertificationcapability_manual&lt;/SPAN&gt; I have 'BASE Phenom 100', and 'LINE Phenom 100', how would I do that directly in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, this is just amazing, it's like, another level of programming in Qlikview, thank you alot for you help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 13:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483069#M1235265</guid>
      <dc:creator />
      <dc:date>2013-09-10T13:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483070#M1235266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe just replace(replace(Field, 'BASE ', ''), 'LINE ', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw. you can search in a listbox for 'Phenom 100' as well..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 15:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483070#M1235266</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-09-10T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with map and getting the latitude/longitude</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483071#M1235267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think with all of that I will able to solve all the problems, thank you alot Ralf.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 16:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-map-and-getting-the-latitude-longitude/m-p/483071#M1235267</guid>
      <dc:creator />
      <dc:date>2013-09-10T16:49:46Z</dc:date>
    </item>
  </channel>
</rss>

