<?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: Bearing distance to line with X/Y/Z in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63559#M5149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well to make it hurt more, I don't use geodesic (aka 4326, aka longitude/latitude), only planar coordinates (like utm, etc, aka, projected)&lt;/P&gt;&lt;P&gt;Since you already have the Long/Lat values, you should look at the&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm"&gt;Bearing Distance To Line—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2019 20:35:31 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-02-27T20:35:31Z</dc:date>
    <item>
      <title>Bearing distance to line with X/Y/Z</title>
      <link>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63556#M5146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a fc that looks a bit like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;ID    NAME    AZIMUTH    ELEVATION    DIST
01    first   60.5       28.3         100
02    second  125.2      14           100
03    third   90         7.8          100&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Azimuth and Elevation are expressed in degrees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create lines between these points (themselves with no Z value) and paired points that must be calculated along a trajectory from the starting point, for n meters (the DIST field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating the lines once I have the paired XYZ is easy.&amp;nbsp; Getting to the XYZ is harder.&amp;nbsp; Math is not my strong suit, and I am curious how I would accomplish it in python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Distance unit of measurements are in meters.&amp;nbsp; I want to keep this simple and relative, i.e., no need to account for curvature of the earth or terrain.&amp;nbsp; Just calculating a new point&amp;nbsp;100 meters away from the origin point in xyz space, assuming the trajectory provided by the azimuth and elevation angles and a flat X plane.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:26:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63556#M5146</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2021-12-10T22:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bearing distance to line with X/Y/Z</title>
      <link>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63557#M5147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have ruled out using....&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm"&gt;Bearing Distance To Line—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projected coordinates?&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is your start point?&lt;/P&gt;&lt;P&gt;bearing... are they azimuth's from North? (bearings has several meanings&lt;/P&gt;&lt;P&gt;related to show it is doable&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2019/02/21/measuring-distance-in-3d"&gt;/blogs/dan_patterson/2019/02/21/measuring-distance-in-3d&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 20:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63557#M5147</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-02-27T20:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bearing distance to line with X/Y/Z</title>
      <link>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63558#M5148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;start point for each calculation is the XY for each row in the point feature class.&amp;nbsp; I guess we just assume Z is 0 since it's not included in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no local projection just 4326.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, azimuth from North.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your blog makes my head hurt but it's good stuff, thanks&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 20:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63558#M5148</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2019-02-27T20:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bearing distance to line with X/Y/Z</title>
      <link>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63559#M5149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well to make it hurt more, I don't use geodesic (aka 4326, aka longitude/latitude), only planar coordinates (like utm, etc, aka, projected)&lt;/P&gt;&lt;P&gt;Since you already have the Long/Lat values, you should look at the&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm"&gt;Bearing Distance To Line—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 20:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/bearing-distance-to-line-with-x-y-z/m-p/63559#M5149</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-02-27T20:35:31Z</dc:date>
    </item>
  </channel>
</rss>

