<?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: Point in Polygon in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446428#M610143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why 1,1 and 3,3 only.. Is there any logic to pick only those or does they coming from another field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2017 16:54:31 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-12-07T16:54:31Z</dc:date>
    <item>
      <title>Point in Polygon</title>
      <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446427#M610142</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 need to find out if a point is inside or outside a polygon. Suppose I have a square with the following co-ordinates :&lt;/P&gt;&lt;P&gt;0,0&lt;/P&gt;&lt;P&gt;0,2&lt;/P&gt;&lt;P&gt;2,2&lt;/P&gt;&lt;P&gt;2,0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way in Load script, I can identify whether or not point (x,y) is inside or outside the square? So if my point is (1,1) then it should return 'Inside' and if my point is (3,3) it should return 'outside'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446427#M610142</guid>
      <dc:creator>arunraj2308</dc:creator>
      <dc:date>2017-12-07T16:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon</title>
      <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446428#M610143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why 1,1 and 3,3 only.. Is there any logic to pick only those or does they coming from another field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446428#M610143</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-07T16:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon</title>
      <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446429#M610144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What kind of polygons do you have?&lt;/P&gt;&lt;P&gt;If only squares then one condition might be simply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x&amp;gt;=x1 and x&amp;lt;=x2 and y&amp;gt;=y1 and y&amp;lt;=y2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post some sample data (tables and fields) and your expected result to test with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 22:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446429#M610144</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-12-07T22:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon</title>
      <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446430#M610145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No 1,1 and 3,3 were just examples. It is not necessary that the shape is a square. It can have any number of vertices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 10:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446430#M610145</guid>
      <dc:creator>arunraj2308</dc:creator>
      <dc:date>2017-12-08T10:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon</title>
      <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446431#M610146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really, Sure how Polygon values are setting up. Are you loading any earth data using boudaries from in and out??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 10:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446431#M610146</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-08T10:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon</title>
      <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446432#M610147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, that condition will work for a square.&lt;/P&gt;&lt;P&gt;Unfortunately it can be any shape. eg: pentagon, hexagon . with any number of vertices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be given the latitude longitude co-ordinates of an area of any shape for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Area_Latitude, Area_Longitude&lt;/P&gt;&lt;P&gt;51.717772, 0.906372&lt;/P&gt;&lt;P&gt;51.690096, -0.494385&lt;/P&gt;&lt;P&gt;51.372295, -0.543823&lt;/P&gt;&lt;P&gt;51.262431, -0.175781&lt;/P&gt;&lt;P&gt;51.2074, 0.340576&lt;/P&gt;&lt;P&gt;51.512674, 0.038452&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show whether the customer address falls within the above area or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;CustomerID, Cust_Latitude, Cust_Latitude&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1, 51.499305, -0.137329&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2, &lt;SPAN style="font-size: 10pt;"&gt;51.478783, 0.164795&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;CustomerID, Cust_Latitude, Cust_Latitude, Inside_OutsideAreaIndicator&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1, 51.499305, -0.137329, Inside Area&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2, &lt;SPAN style="font-size: 10pt;"&gt;51.478783, 0.164795, Outside Area&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;KInd Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Arun&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 10:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446432#M610147</guid>
      <dc:creator>arunraj2308</dc:creator>
      <dc:date>2017-12-08T10:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon</title>
      <link>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446433#M610148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;You are right, I will be given latitude longitude co-ordinates.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I will be given the latitude longitude co-ordinates of an area of any shape for example:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tab1:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Area_Latitude, Area_Longitude&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;51.717772, 0.906372&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;51.690096, -0.494385&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;51.372295, -0.543823&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;51.262431, -0.175781&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;51.2074, 0.340576&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;51.512674, 0.038452&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need to show whether the customer address falls within the above area or not.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tab2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;CustomerID, Cust_Latitude, Cust_Latitude&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1, 51.499305, -0.137329&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2, &lt;SPAN style="font-size: 10pt;"&gt;51.478783, 0.164795&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;CustomerID, Cust_Latitude, Cust_Latitude, Inside_OutsideAreaIndicator&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1, 51.499305, -0.137329, Inside Area&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2, &lt;SPAN style="font-size: 10pt;"&gt;51.478783, 0.164795, Outside Area&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 10:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Point-in-Polygon/m-p/1446433#M610148</guid>
      <dc:creator>arunraj2308</dc:creator>
      <dc:date>2017-12-08T10:44:39Z</dc:date>
    </item>
  </channel>
</rss>

