TaskarCenterAtUW / iOSPointMapper

4 stars 0 forks source link

Work on Changesets in API transmission #84

Open himanshunaidu opened 5 days ago

himanshunaidu commented 5 days ago

Work on the change set feature to push Points-of-Interest changes (only additions for now, no updates) to TDEI Workspaces

References:

  1. GoInfoGame Documentation

https://docs.google.com/document/d/1qPSW5pYmVb-RXOiryBm452sLfTvFl38f_TCO4SElkSY/edit?tab=t.0

  1. OpenStreetMap API v0.6

https://wiki.openstreetmap.org/wiki/API_v0.6#Changesets Extra Context: https://wiki.openstreetmap.org/wiki/Elements

himanshunaidu commented 5 days ago

API 4: Modify locally and push the data:

Current Planned Workflow: In this workflow, a unique changeset is created and closed, every time the user captures and validates the captured segments. This is subject for modification, as eventually, we would want each changeset to accommodate a set of captures, instead of a single capture.

4b. Open a changeset

Open a changeset when the ContentView is opened.

Workspace: TDEI - Seattle OpenSidewalks Dataset

4c. Upload the changes using /changeset/id/upload call

Call this changeset change upload API, every time the user validates a page/frame in the AnnotationView

4d. Close the changeset

Call this API once the user validates all the frames in a single capture.