<?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: How to I determine if data points are located left or right of a contour line? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4420#M197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, right and left are relative.&amp;nbsp; What is the directionality of the lines (start/stop).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The points north of the extent of the line have no obvious "side".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those markers are *really* busy for trying to explain your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2014 03:40:48 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2014-11-17T03:40:48Z</dc:date>
    <item>
      <title>How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4415#M192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a two dimensional landscape with around 2000 xy points. I also have a single contour that winds its way through the landscape. I need to know how far each point is to the line, but i ultimately need the distance estimates to be polarized, so that points to the left have a negative distance, and those to the right have positive distances. A point exactly on the contour would have a distance of zero, and points further away have larger distance values.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been able to obtain distances from each point to the contour using the NEAR TABLE tool. Problem is they are all positive, and there are far too many points to eyeball each point to see if it is left or right of the contour. Is there a simple method for generating a list of xy points on each side of the contour, or a more efficient was of obtaining polarized measurements?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 01:18:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4415#M192</guid>
      <dc:creator>seanStankowski</dc:creator>
      <dc:date>2014-11-17T01:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4416#M193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to answer that one needs to specify the direction of travel along the polyline.&amp;nbsp; Is left and right in the direction of digitizing or opposite it or are you trying to get some east vs west or North vs south statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00080000001q000000"&gt;Near Tool's help topic&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; you should be able to exploit the location and angle option if you specified them.&amp;nbsp; For example you could compare the X coordinates of the points with the X's of the location of the nearest point.&amp;nbsp; If the line was running in the N/S direction, a value of X for the point would be negative if it were less than the X for the nearest point location&amp;nbsp; etc etc&amp;nbsp; you can come up with the rule set by examine these information in light of the point pattern and the location, shape and tortuosity of your linear feature.&amp;nbsp;&amp;nbsp; PS&amp;nbsp; A picture would be nice in your next post or in the original&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 01:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4416#M193</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-11-17T01:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4417#M194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Left" and "right" are somewhat arbitrary without a frame of reference.&amp;nbsp; Assuming you mean with respect to the direction of the line segments, then basic trigonometry would give the answer [a = atan2(dy,dx)].&amp;nbsp; You just need to know when and how to change answers in radians with range [0...2pi] to answers in radians with range [-pi...+pi] (or degrees bearing from north, or whatever units will permit the comparison you want).&amp;nbsp; Make sure that your solution determines which segment was closest, and that the calculation of the orientation of that line segment uses the same units. It may be simpler to construct a left-hand rule polygon from the line with the arcs of the MBR, in which case it becomes a point-in-polygon problem (inside left, outside right).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 01:52:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4417#M194</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-11-17T01:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4418#M195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A rather manual way could be to create a rectangle and to split it using the contourline. Assign proper codes to both polygons that result and intersect them with the points. That way they you will obtain information to which side of the contourline they are located.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you prefer coding the problem, there is a method in the arcpy.Polyline() object called &lt;EM&gt;queryPointAndDistance&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000008000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000008000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Finds the point on the polyline nearest to the in_point and the distance between those points. &lt;SPAN style="text-decoration: underline;"&gt;Also returns information about the side of the line the in_point is on&lt;/SPAN&gt; as well as the distance along the line where the nearest point occurs. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 02:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4418#M195</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-11-17T02:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4419#M196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="interpolation.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/30685_interpolation.jpg" style="height: auto;" /&gt;Here is an image of the map. The red line is the countour of interest. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 03:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4419#M196</guid>
      <dc:creator>seanStankowski</dc:creator>
      <dc:date>2014-11-17T03:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4420#M197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, right and left are relative.&amp;nbsp; What is the directionality of the lines (start/stop).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The points north of the extent of the line have no obvious "side".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those markers are *really* busy for trying to explain your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 03:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4420#M197</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-11-17T03:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4421#M198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds like the best solution to the problem, as the contour line is nonlinear and many points fall very close to the line meaning that inferring polarity information from the NEAR TABLE angle and position info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im quite new to arcmap, and have no idea how to go about creating a rectangle and splitting it by the contour line. Can you point me in the direction of a tutorial or provide some basic instructions?&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;Sean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. a map of the problem is provided below. The red contour is the contour of interest, so ignore the other two.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 03:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4421#M198</guid>
      <dc:creator>seanStankowski</dc:creator>
      <dc:date>2014-11-17T03:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4422#M199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the northern points that fall above the line will be removed in the next iteration of this, so that the contour will divide the map into two discrete areas. The points will therefore fall into one of the two areas. I just need to know which of the two areas, call them left/right, A/B, -/+ or any other arbitrary distinction that works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;p.s. Sorry for the choice of points, I've *really* busy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 03:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4422#M199</guid>
      <dc:creator>seanStankowski</dc:creator>
      <dc:date>2014-11-17T03:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4423#M200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a rectangle feature:&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01m700000058000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//01m700000058000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To split a polygon (rectangle):&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01m800000024000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//01m800000024000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General information on editing:&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01m600000020000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//01m600000020000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 03:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4423#M200</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-11-17T03:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4424#M201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not only is it relevant, it's critical.&amp;nbsp; If the line passes north to south, then the "left" side is on the east.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 03:48:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4424#M201</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-11-17T03:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4425#M202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Ill see how I go with this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 04:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4425#M202</guid>
      <dc:creator>seanStankowski</dc:creator>
      <dc:date>2014-11-17T04:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4426#M203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The image is oriented north/south, so yes, the split is east/west.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 04:09:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4426#M203</guid>
      <dc:creator>seanStankowski</dc:creator>
      <dc:date>2014-11-17T04:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4427#M204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting back to my original point, did you determine the values and direction to the point using the near tool, and if so it looks like a that would allow you to rapidly split the points into left or right of the line.&amp;nbsp; The analysis could be further enhanced by repeating the analysis with the contour direction flipped which would give two directions and the same point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 07:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4427#M204</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-11-17T07:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to I determine if data points are located left or right of a contour line?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4428#M205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached image shows what can be done with the Generate Near Table tool if you have the appropriate licence.&lt;/P&gt;&lt;P&gt;1&amp;nbsp; start with the tool and generate a near table, add it as an event theme, using the Near_X, Near_Y to get the points shown on the polyline. &lt;/P&gt;&lt;P&gt;2&amp;nbsp; the points in the origin layer have been highlighted&lt;/P&gt;&lt;P&gt;3&amp;nbsp; the table contains all the information required to determine sided-ness depending upon the line of digitizing.&amp;nbsp; The near angle field is the angle between the origin point and the point on the line with respect to the XY axis, in this case 104 degrees looks good&lt;/P&gt;&lt;P&gt;4&amp;nbsp; what I call the destination point...the point on the polyline&lt;/P&gt;&lt;P&gt;5&amp;nbsp; the distance was measured using the measure tool between the two points and the distance is pretty good within 0.000006 m (grief.... should have spent some snapping them )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should give you some food for thought as to how to dissect your problem&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-11-17_5-30-54.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/30764_2014-11-17_5-30-54.png" style="width: 620px; height: 372px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 10:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-i-determine-if-data-points-are-located-left/m-p/4428#M205</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-11-17T10:39:41Z</dc:date>
    </item>
  </channel>
</rss>

