<?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 Creating Raster from Strava GPX points in Elevation Data Questions</title>
    <link>https://community.esri.com/t5/elevation-data-questions/creating-raster-from-strava-gpx-points/m-p/856554#M165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am working on maybe an unusal project right now. I have downloaded a race route from my Strava account as a GPX file and then used the GPX to Points tool in Arc. What tool should I use that would and parameters so that this current point route (attached) could be converted into a straight DEM file. The current shapefile has a Z value field. I could convert this point shapefile into a line and then add a DEM online and visualize the elevation of the route from there but thought there might be a way to bypass that. Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2020 20:41:18 GMT</pubDate>
    <dc:creator>JohnnyHarley</dc:creator>
    <dc:date>2020-05-13T20:41:18Z</dc:date>
    <item>
      <title>Creating Raster from Strava GPX points</title>
      <link>https://community.esri.com/t5/elevation-data-questions/creating-raster-from-strava-gpx-points/m-p/856554#M165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am working on maybe an unusal project right now. I have downloaded a race route from my Strava account as a GPX file and then used the GPX to Points tool in Arc. What tool should I use that would and parameters so that this current point route (attached) could be converted into a straight DEM file. The current shapefile has a Z value field. I could convert this point shapefile into a line and then add a DEM online and visualize the elevation of the route from there but thought there might be a way to bypass that. Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 20:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/elevation-data-questions/creating-raster-from-strava-gpx-points/m-p/856554#M165</guid>
      <dc:creator>JohnnyHarley</dc:creator>
      <dc:date>2020-05-13T20:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Raster from Strava GPX points</title>
      <link>https://community.esri.com/t5/elevation-data-questions/creating-raster-from-strava-gpx-points/m-p/856555#M166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the points are sequential along the route, perhaps just calculate the cumulative distance and the Z value into 2 fields and produce an X-Y graph.&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Python parser required.&amp;nbsp; For calculating the Z value into a field (type Double) use...&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;!Shape!&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;centroid&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Z&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and for the cumulative distance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;dist_cum&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;!Shape!&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Code block&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"""-----------------------------------------
dist_cumu(shape)
input:      shape field
returns:    cumulative distance between points
expression: dist_cumu(!Shape!)
"""&lt;/SPAN&gt;

x0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0&lt;/SPAN&gt;
y0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0&lt;/SPAN&gt;
distance &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;dist_cumu&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;shape&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;global&lt;/SPAN&gt; x0
    &lt;SPAN class="keyword token"&gt;global&lt;/SPAN&gt; y0
    &lt;SPAN class="keyword token"&gt;global&lt;/SPAN&gt; distance
    x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; shape&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;firstpoint&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;X
    y &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; shape&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;firstpoint&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Y
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; x0 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;and&lt;/SPAN&gt; y0 &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        x0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; x
        y0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; y
    distance &lt;SPAN class="operator token"&gt;+=&lt;/SPAN&gt; math&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sqrt&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; x0&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;**&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;y &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; y0&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;**&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    x0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; x
    y0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; y
    &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; distance&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;/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;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;/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;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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then you can use the two field for graphing inside or outside (Table to Excel tool, for instance)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/elevation-data-questions/creating-raster-from-strava-gpx-points/m-p/856555#M166</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-12T10:35:26Z</dc:date>
    </item>
  </channel>
</rss>

