<?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: Roadway Lines from TWO points? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61057#M273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks much &lt;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;I will have to try this out and see how much I get surrounding streets.&amp;nbsp; Were you using a specific piece of a dataset - say, interstates only - or just specific "agency owned" roadways?&lt;/P&gt;&lt;P&gt;I am also going to have a number of roadway conditions to account for - not just ice.&amp;nbsp; This gives me a great place to start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;--Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2020 11:45:33 GMT</pubDate>
    <dc:creator>AdamRepsher</dc:creator>
    <dc:date>2020-01-27T11:45:33Z</dc:date>
    <item>
      <title>Roadway Lines from TWO points?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61055#M271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have a data feed that gives me two points (FromLat/Long, ToLat/Long) per event, the beginning and ending of a roadway issue.&amp;nbsp; For example, &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;ICE COVERED ROADWAY&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I need to find a way to capture the roadway line between the two points and be able to display it as ICE COVERED ROADWAY.&lt;/STRONG&gt;&amp;nbsp; Sometimes the length spans different routes (names, numbers, etc.).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have access to road datasets, but do not know how to approach setting up the data or process it to clip the lines between the points.&lt;/LI&gt;&lt;LI&gt;I have thought about trying to use a Routing Service, but do not think I can connect to one with the available connectors.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone in &lt;A href="https://community.esri.com/space/2065"&gt;Transportation&lt;/A&gt;‌, &lt;A href="https://community.esri.com/group/1199"&gt;Real-Time &amp;amp;amp; Big Data GIS&lt;/A&gt; or &lt;A href="https://community.esri.com/space/2103"&gt;GeoEvent&lt;/A&gt; done anything like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 15:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61055#M271</guid>
      <dc:creator>AdamRepsher</dc:creator>
      <dc:date>2020-01-22T15:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Roadway Lines from TWO points?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61056#M272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did something similar for a city to show trails have been plowed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; In this scenario, I would first convert the two points to a line geometry and write the feature to a feature service.&amp;nbsp; You can create a line geometry using the Field Calculator and the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;'{"paths":[[[' + x1 + ',' + y1 + '],[' + x2 + ',' + y2 + ']]], "spatialReference":{"wkid":4326}}'&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;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Once you have this data as a feature service, set up an input to poll this feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Add a field (i.e. ice_cover_status) to your road dataset to show whether it's ice covered or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Publish the road dataset as a feature service, and then import this feature service as GeoFences&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Create an output to update the road dataset feature service in GeoEvent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; Create a GeoEvent Service to link the input created in step 2 to the output road dataset created in step 5.&amp;nbsp; Here is an example of how I updated a trails feature service once the snow plow exited the trail:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/479020_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The GeoTagger will be set with a Spatial Operator &lt;STRONG&gt;Intersects &lt;/STRONG&gt;&lt;STRONG&gt;Any&lt;/STRONG&gt; for the Geofences you imported in step 4&lt;/LI&gt;&lt;LI&gt;Create a filter to filter where the GeoTag Field Name is not NULL&lt;/LI&gt;&lt;LI&gt;Use the Field Enricher processor to enrich the road dataset to the event using the geofence name field (the field you specified as the &lt;STRONG&gt;Name&lt;/STRONG&gt; field when you imported the geofences) and the GeoTag Field Name&lt;/LI&gt;&lt;LI&gt;Calculate the &lt;STRONG&gt;ice_cover_status&lt;/STRONG&gt; field to something like &lt;STRONG&gt;Yes&lt;/STRONG&gt; or &lt;STRONG&gt;True&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Finally use the Field Mapper processor to update the road dataset output&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 19:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61056#M272</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-01-22T19:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Roadway Lines from TWO points?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61057#M273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks much &lt;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;I will have to try this out and see how much I get surrounding streets.&amp;nbsp; Were you using a specific piece of a dataset - say, interstates only - or just specific "agency owned" roadways?&lt;/P&gt;&lt;P&gt;I am also going to have a number of roadway conditions to account for - not just ice.&amp;nbsp; This gives me a great place to start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;--Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2020 11:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61057#M273</guid>
      <dc:creator>AdamRepsher</dc:creator>
      <dc:date>2020-01-27T11:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Roadway Lines from TWO points?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61058#M274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dataset we working with were Regional Trails that were used by pedestrians and bicyclists.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 13:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/roadway-lines-from-two-points/m-p/61058#M274</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-01-29T13:47:25Z</dc:date>
    </item>
  </channel>
</rss>

