<?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 AVL data live feed in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273960#M25268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for any thoughts or comments on displaying AVL location data in Javascript. &amp;nbsp;I am looking to display 10+ vehicles by vehicle number, BUT only the most recent recorded position. &amp;nbsp;The SQL View I have has all the records but just want the newest. &amp;nbsp;This SQL Data also has the XY coordinate. &amp;nbsp;I do not have this in a Map Service at this point. &amp;nbsp;Just starting and looking for ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do this from a SQL View?&lt;/P&gt;&lt;P&gt;Do I need to have a Map Service?&lt;/P&gt;&lt;P&gt;Can I have to option of displaying the last 5 hrs, or 20 hrs etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone done this before? &amp;nbsp;Please Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 18:10:01 GMT</pubDate>
    <dc:creator>jaykapalczynski</dc:creator>
    <dc:date>2017-02-15T18:10:01Z</dc:date>
    <item>
      <title>AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273960#M25268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for any thoughts or comments on displaying AVL location data in Javascript. &amp;nbsp;I am looking to display 10+ vehicles by vehicle number, BUT only the most recent recorded position. &amp;nbsp;The SQL View I have has all the records but just want the newest. &amp;nbsp;This SQL Data also has the XY coordinate. &amp;nbsp;I do not have this in a Map Service at this point. &amp;nbsp;Just starting and looking for ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do this from a SQL View?&lt;/P&gt;&lt;P&gt;Do I need to have a Map Service?&lt;/P&gt;&lt;P&gt;Can I have to option of displaying the last 5 hrs, or 20 hrs etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone done this before? &amp;nbsp;Please Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:10:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273960#M25268</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2017-02-15T18:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273961#M25269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have an AVL system for my Sheriff vehicles and a SQL View that only has the most current vehicle positions. I then have an asp.net web service that returns this data in json format that I use an esriRequest to get, and build a clinetside FeatureLayer using a FeatureCollection to display on my map. I go this idea from &lt;A href="https://community.esri.com/people/tsellste"&gt;tsellste&lt;/A&gt;‌, in his app he uses a MapService though.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273961#M25269</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-02-15T18:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273962#M25270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doing research this does not seem that hard to do....my only real issue is getting the data in the view to something readable by "FeatureCollection" which I think just creates a graphics layer right?&lt;/P&gt;&lt;P&gt;I guess json is the way to go? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume the asp/net webservice runs every X amount of time recreating the json file? &amp;nbsp;Upon refresh the json files is rendered...how is this automated? &amp;nbsp;Does it work on the fly or upon refresh?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273962#M25270</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2017-02-15T18:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273963#M25271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait....cant i simply make a spatial view from the data itself and publish that to a webservice? &amp;nbsp;Set some sort of refresh of the rendering in the app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273963#M25271</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2017-02-15T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273964#M25272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I think you can create a spatial view and set the refresh rate but as I said I don't use that route so I can not provide guidence there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My route with the asp.net webservice uses a esriRequest in a setTimeout. The esriRequest returns a json object/string that is parsed into a feature collection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:56:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273964#M25272</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-02-15T18:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273965#M25273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two separate feature classes that I use, vehicles and positions. &amp;nbsp;Vehicles contains the most current position information. &amp;nbsp;Positions is all of the historic GPS information. &amp;nbsp;This makes my ability to display the current position very simple. &amp;nbsp;I don't have to query this positions table for the most current position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going forward, I think WebSockets will be the way to go. &amp;nbsp;It is somewhat chatty, but the messages will be only sending updates rather than querying the entire feature class every so many seconds. &amp;nbsp;The GeoEvent server uses websockets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273965#M25273</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2017-02-15T18:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273966#M25274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So If I have a SQL view of the data. &amp;nbsp;How do I publish that into a feature service? &amp;nbsp;I have X and Y , and other fields. &amp;nbsp;Looked into GeoEvent but thats a little out of my price range right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 20:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273966#M25274</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2017-02-15T20:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273967#M25275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right now the data is on a different server than my install of SDE...I imagine if I create a View in the SDE server over to the other server with the data I am going to take a performance hit.&lt;/P&gt;&lt;P&gt;Would I create a spatial view publish that? &amp;nbsp;But with the data on another server I think the performance will suffer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 20:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273967#M25275</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2017-02-15T20:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273968#M25276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've not had experience with integrating an AVL system, but just a thought, could you use an SQL SELECT DISTINCT statement on your view in order to pull just the first record for each matching id? &amp;nbsp;You would still have to have &amp;nbsp;refresh on the services, but that could be a crude way of getting just the data that you need. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 13:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273968#M25276</guid>
      <dc:creator>AndrewFarrar</dc:creator>
      <dc:date>2017-02-17T13:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273969#M25277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have the GeoEvent Extention/Server, it's really easy.&lt;/P&gt;&lt;P&gt;-Setup GeoEvent Extention&lt;/P&gt;&lt;P&gt;-Create an input of a feature class. Set it to pull the rec with the greatest time.&lt;/P&gt;&lt;P&gt;-Create a Stream output layer&lt;/P&gt;&lt;P&gt;-Tie the two together with (I can't remember the name) "mapping" tool. It maps an input to an output and allows processing.&lt;/P&gt;&lt;P&gt;-Connect your JS to the Stream layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 17:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273969#M25277</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2017-02-17T17:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: AVL data live feed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273970#M25278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wish I had the money....pretty expensive extension/.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 18:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avl-data-live-feed/m-p/273970#M25278</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2017-02-21T18:05:49Z</dc:date>
    </item>
  </channel>
</rss>

