Hi Matt!
I’ve built an open source tool for manually constructing and editing Arc timeline data, and I’d love to get your guidance on importing into Arc Editor.
It’s a Shiny/R web app with a Leaflet map where you can:
- Click waypoints and calculate routes via a local OSRM server (Docker containers for car/foot/bike/bus)
- Snap-to-road messy GPS paths
- Fix metro/subway routes where GPS was poor underground
- Create visits with named places and timestamps
- Import flight tracks from FlightRadar24 KML files (with altitude, speed, heading)
- Load existing weekly sample .json.gz files and edit them — drag markers, ignore bad points, lasso-select, re-snap entire paths
- Edit route waypoints (drag, delete, insert) preserving average speed
With Arc Timeline, this worked great — I’d generate the Import/TimelineItem/{UUID}.json + Import/LocomotionSample/samples.json structure, and Arc would pick them up. I’ve been using it regularly to clean up my data.
Now I’m migrating to Arc Editor. I studied the JSON export format (schema 2.2.0) and rebuilt the exporter to match:
- items/{YYYY-MM}.json — arrays of base+trip/visit objects
- samples/{YYYY-Www}.json.gz — flat LocoKit2 samples (id, latitude, longitude at root, integer movingState/recordingState, classifiedActivityType, etc.)
- metadata.json
I also tried to infer the integer activity type codes by cross-referencing speeds and distances in my exports (e.g. code 6 averaging 700+ km/h → likely airplane, code 2 at ~4 km/h → likely walking, and so on), though I don’t know if these mappings are correct.
The generated data looks structurally identical to what Arc Editor exports, but importing the zip into Arc Editor doesn’t pick up any data.
My questions:
- Does Arc Editor’s JSON import expect the same structure as its export? Or is there a different import format/mechanism?
- Are there required fields or validation rules that would silently reject data?
- Is there a way to see import errors/logs in Arc Editor (maybe in the Settings debug views)?
- Is the activity type integer mapping documented anywhere?
Happy to share sample files or adapt the tool based on your feedback. The goal is to make it useful to the community — anyone who needs to manually fix or build Arc data.
Thanks!