<?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: Jumps in Line Layer in GeoAnalytics</title>
    <link>https://community.qlik.com/t5/GeoAnalytics/Jumps-in-Line-Layer/m-p/1626102#M2734</link>
    <description>&lt;P&gt;To make lines continue across the date line and not to wrap around, the coordinates has to "flow past" the date line.&lt;/P&gt;
&lt;P&gt;See the app for an example.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Patric&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2019 07:15:28 GMT</pubDate>
    <dc:creator>Patric_Nordstrom</dc:creator>
    <dc:date>2019-09-20T07:15:28Z</dc:date>
    <item>
      <title>Jumps in Line Layer</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Jumps-in-Line-Layer/m-p/1609072#M2659</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Can anyone tell me how to fix the jumping that occurs on my map? When the paths cross a particular longitude there is a "jumping" that occurs and the line wraps the long way around the map. I have applied a transformation to the negative points (adding 360) that someone mentioned here:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-GeoAnalytics-Discussions/Line-Layer-Behavior-in-the-Pacific/td-p/112078&amp;nbsp;" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-GeoAnalytics-Discussions/Line-Layer-Behavior-in-the-Pacific/td-p/112078&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;however it appears that this simply changes where the jump occurs. Instead of occurring across the (-180, 180) longitude line (point 2) it occurs accross the (0, 360) line (point 3) as shown in the maps below. The maps show paths consisting of a few points placed at critical longitudes to show where the jump occurs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The points on the map are given by:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SmallData:&lt;BR /&gt;load * inline&lt;BR /&gt;[assetid, latitude, longitude, messagetime&lt;BR /&gt;2, 46.7522781 , 163.0435627 , 2019-07-26 02:39:16&lt;BR /&gt;2, 47.8609425 , 174.934958 , 2019-07-26 02:39:17&lt;BR /&gt;2, 47.9432986 , -179.0895877 , 2019-07-26 02:39:17&lt;BR /&gt;2, 46.386769 , -161.746896 , 2019-07-26 02:39:18&lt;/P&gt;
&lt;P&gt;3, 30.7522781 , 5 , 2019-07-26 02:39:16&lt;BR /&gt;3, 30.8609425 , 1 , 2019-07-26 02:39:17&lt;BR /&gt;3, 30.9432986 , -1 , 2019-07-26 02:39:17&lt;BR /&gt;3, 30.386769 , -5 , 2019-07-26 02:39:18&lt;/P&gt;
&lt;P&gt;4, -15.7522781 , 95 , 2019-07-26 02:39:16&lt;BR /&gt;4, -15.8609425 , 91 , 2019-07-26 02:39:17&lt;BR /&gt;4, -15.9432986 , 89 , 2019-07-26 02:39:17&lt;BR /&gt;4, -15.386769 , 85 , 2019-07-26 02:39:18&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the paths are constructed with:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paths:&lt;BR /&gt;Load&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assetid,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '[' &amp;amp; concat( GeoMakePoint(latitude, if( longitude &amp;lt; 0 , longitude + 360, longitude)) , ',', messagetime ) &amp;amp; ']' as trail&lt;BR /&gt;Resident SmallData&lt;BR /&gt;Group By assetid;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Skip-Pacific.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16476i45FCC9E41CD9DCE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skip-Pacific.PNG" alt="Skip-Pacific.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After applying the transformation:&amp;nbsp;&amp;nbsp;if( longitude &amp;lt; 0 , longitude + 360, longitude))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Skip-0.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16478i47ACB2F03AD02A6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skip-0.PNG" alt="Skip-0.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 18:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Jumps-in-Line-Layer/m-p/1609072#M2659</guid>
      <dc:creator>RichB</dc:creator>
      <dc:date>2021-09-07T18:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Jumps in Line Layer</title>
      <link>https://community.qlik.com/t5/GeoAnalytics/Jumps-in-Line-Layer/m-p/1626102#M2734</link>
      <description>&lt;P&gt;To make lines continue across the date line and not to wrap around, the coordinates has to "flow past" the date line.&lt;/P&gt;
&lt;P&gt;See the app for an example.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Patric&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 07:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/GeoAnalytics/Jumps-in-Line-Layer/m-p/1626102#M2734</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2019-09-20T07:15:28Z</dc:date>
    </item>
  </channel>
</rss>

