2

Is there a way to publish a JSON URL that displays a live feed of current bus vehicle locations in ArcGIS Online?

Here's the URL: https://transitdata.phoenix.gov/api/vehiclepositions?format=json

  • 1
    To clarify, that URL is an example of what you would like to generate? Or are you looking to consume a JSON-formatted API and display it live on a map? – juturna Jan 17 '17 at 19:37
  • I would like to attempt to consume a JSON-formatted API and display it live on a map, preferably AGOL. – El Duderino Jan 17 '17 at 20:51
  • As far as I know, ArcGIS Online cannot add a layer from the web that is in the json or geojson format. It can add both from a file, but it can't consume them from a URL. I would love for someone to correct me. – juturna Jan 17 '17 at 21:10
  • Due to the limitations with AGOL, would working with ArcGIS API for JavaScript be the alternative route? – El Duderino Jan 17 '17 at 21:22
  • Yeah, I believe so... developers.arcgis.com/javascript/latest/guide/using-fromjson/… This page might be a start. – juturna Jan 18 '17 at 19:45
4

Koop may help you with this - https://koopjs.github.io/ - http://koop.dc.esri.com/

It is an:

An Open Geospatial ETL Engine

that lets you:

Leave geospatial data where it lives and transform it into GeoJSON, CSV, KML, a Shapefile, or a Feature Service dynamically.

The feature service can then be consumed by ArcGIS online

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.