<?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 Mapbox issue with coordinates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapbox-issue-with-coordinates/m-p/1706363#M455616</link>
    <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;We managed to get mapbox working in Qlikview&amp;nbsp; by using a chart with a map background. Unfortunately something is going wrong with the conversion of coordinates to X,Y positions on the map. In the attached image you'll see that the distance between the scatter points is OK but it's on a wrong location of the map. Therefore my conclusion is that something is wrong in the formula. This is currently set up like this:&lt;/P&gt;&lt;P&gt;Expression: Longitude&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=( round(256*pow(2,($(var_zoom)-1)))+( longitude  *((256*pow(2,$(var_zoom)))/360)) )&lt;/LI-CODE&gt;&lt;P&gt;Expression: Latitude&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=(  
((256*pow(2,($(var_zoom)-1)))+((0.5*log((1+(sin((latitude)*pi()/180)))/(1-(sin((latitude)*pi()/180)))))*((-256*pow(2,$(var_zoom)))/(2*pi()))))

)&lt;/LI-CODE&gt;&lt;P&gt;Expression Metric:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum(_Turnover)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any mathematical geniuses out here that can see why this is not working? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:34:31 GMT</pubDate>
    <dc:creator>Arnec</dc:creator>
    <dc:date>2024-11-16T18:34:31Z</dc:date>
    <item>
      <title>Mapbox issue with coordinates</title>
      <link>https://community.qlik.com/t5/QlikView/Mapbox-issue-with-coordinates/m-p/1706363#M455616</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;We managed to get mapbox working in Qlikview&amp;nbsp; by using a chart with a map background. Unfortunately something is going wrong with the conversion of coordinates to X,Y positions on the map. In the attached image you'll see that the distance between the scatter points is OK but it's on a wrong location of the map. Therefore my conclusion is that something is wrong in the formula. This is currently set up like this:&lt;/P&gt;&lt;P&gt;Expression: Longitude&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=( round(256*pow(2,($(var_zoom)-1)))+( longitude  *((256*pow(2,$(var_zoom)))/360)) )&lt;/LI-CODE&gt;&lt;P&gt;Expression: Latitude&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=(  
((256*pow(2,($(var_zoom)-1)))+((0.5*log((1+(sin((latitude)*pi()/180)))/(1-(sin((latitude)*pi()/180)))))*((-256*pow(2,$(var_zoom)))/(2*pi()))))

)&lt;/LI-CODE&gt;&lt;P&gt;Expression Metric:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum(_Turnover)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any mathematical geniuses out here that can see why this is not working? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapbox-issue-with-coordinates/m-p/1706363#M455616</guid>
      <dc:creator>Arnec</dc:creator>
      <dc:date>2024-11-16T18:34:31Z</dc:date>
    </item>
  </channel>
</rss>

