<?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: Measure a route without ignoring gaps in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620339#M35047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My merged polylines are dashed...&lt;BR /&gt;I tried "create routes" tool (unchecked ignore spatial gaps), but it gives me the length of lines.&lt;BR /&gt;and I need to know length of lines with gaps.&lt;BR /&gt;unfortunately ET geowizards is not free...&lt;BR /&gt;&lt;BR /&gt;any idea?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming the measures of the routes are based on route length and monotonic just extract the From and To measure and take the difference of the To measure minus the From measure to get length with gaps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python:&amp;nbsp; !SHAPE.FIRSTPOINT.M! and !SHAPE.LASTPOINT.M! get the From and To measures respectively&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could directly calculate a Route_Length field that includes gaps with the calculation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!SHAPE.LASTPOINT.M! - !SHAPE.FIRSTPOINT.M!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Non-monotonic routes (routes that do not have increasing measures at each successive vertex) have to be fixed before you can get an accurate value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 20:45:37 GMT</pubDate>
    <dc:creator>RichardFairhurst</dc:creator>
    <dc:date>2013-07-25T20:45:37Z</dc:date>
    <item>
      <title>Measure a route without ignoring gaps</title>
      <link>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620338#M35046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My merged polylines are dashed...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried "create routes" tool (unchecked ignore spatial gaps), but it gives me the length of lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I need to know length of lines with gaps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unfortunately ET geowizards is not free...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 16:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620338#M35046</guid>
      <dc:creator>AinurMatayeva</dc:creator>
      <dc:date>2013-07-25T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Measure a route without ignoring gaps</title>
      <link>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620339#M35047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My merged polylines are dashed...&lt;BR /&gt;I tried "create routes" tool (unchecked ignore spatial gaps), but it gives me the length of lines.&lt;BR /&gt;and I need to know length of lines with gaps.&lt;BR /&gt;unfortunately ET geowizards is not free...&lt;BR /&gt;&lt;BR /&gt;any idea?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming the measures of the routes are based on route length and monotonic just extract the From and To measure and take the difference of the To measure minus the From measure to get length with gaps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python:&amp;nbsp; !SHAPE.FIRSTPOINT.M! and !SHAPE.LASTPOINT.M! get the From and To measures respectively&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could directly calculate a Route_Length field that includes gaps with the calculation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!SHAPE.LASTPOINT.M! - !SHAPE.FIRSTPOINT.M!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Non-monotonic routes (routes that do not have increasing measures at each successive vertex) have to be fixed before you can get an accurate value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 20:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620339#M35047</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-07-25T20:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Measure a route without ignoring gaps</title>
      <link>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620340#M35048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you Richard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it doesn't work out for me because of non-monotonic routes... (it looks like a river)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the gaps are sometimes huge...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am wondering if it is possible to do it automatically in my case...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 18:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620340#M35048</guid>
      <dc:creator>AinurMatayeva</dc:creator>
      <dc:date>2013-07-26T18:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Measure a route without ignoring gaps</title>
      <link>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620341#M35049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;thank you Richard.&lt;BR /&gt;&lt;BR /&gt;it doesn't work out for me because of non-monotonic routes... (it looks like a river)&lt;BR /&gt;and the gaps are sometimes huge...&lt;BR /&gt;&lt;BR /&gt;i am wondering if it is possible to do it automatically in my case...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nope, there is nothing automatic with non-monotonic routes, since their gaps cannot be traced like a monotonic route.&amp;nbsp; If they are non-monotonic they will double back to the same measure over and over or reach an end of connected lines and then randomly jump to another end.&amp;nbsp; I know of no way to distinguish a gap from a double back.&amp;nbsp; There is no such thing as a measurement of the gaps in such a configuration from my perspective.&amp;nbsp; You would have to create a set of monotonic route pair segments that include a gap you want included in the measure values and eliminate the pairings you do not want to count as gaps, and there is no real rule set for doing that automatically.&amp;nbsp; In any event, what you want would most likely make no sense if it were applied to non-monotonic roads and the rules you would follow to straighten it out would almost certainly violate the rules I would follow for roads.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the total distance that traces the strands of spaghetti on a plate including gaps?&amp;nbsp; You can measure the actual spaghetti for length, but what ends of the spaghetti strands constitute a gap you want to measure?&amp;nbsp; That is the sort of problem non-monotonic routes can pose, and at some point you have to accept that there is no solution unless you are willing to impose an artificial order.&amp;nbsp; While rivers are more ordered than spaghetti, the problem has more in common with that end of the spectrum than it does with a monotonic road with a break that will be filled by future construction.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 21:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/measure-a-route-without-ignoring-gaps/m-p/620341#M35049</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-07-26T21:27:17Z</dc:date>
    </item>
  </channel>
</rss>

