https://github.com/sharedstreets/curbwheel-digitizer
Web app for converting raw survey data from the wheel to CurbLR format
https://github.com/sharedstreets/curbwheel-digitizer
Last synced: about 1 month ago
JSON representation
Web app for converting raw survey data from the wheel to CurbLR format
- Host: GitHub
- URL: https://github.com/sharedstreets/curbwheel-digitizer
- Owner: sharedstreets
- Created: 2020-09-01T21:06:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-01T02:09:17.000Z (over 5 years ago)
- Last Synced: 2025-10-11T05:05:24.804Z (9 months ago)
- Language: JavaScript
- Size: 12.5 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# curbwheel-digitizer
### installation
`npm install`
`npm start`
### importing surveys
To import a survey, append the url with `?survey=`, where `` is the URL to the survey. At this path, it anticipates a file structure resembling [this sample survey](https://github.com/sharedstreets/curblr-digitizer/tree/master/src/sampleSurvey), with a `points.json`, `spans.json`, and `images` folder.
see [usage.md](https://github.com/sharedstreets/curblr-digitizer/blob/master/usage.md) for UI documentation.
### backups
The digitizer saves the current state of digitization at 5-second intervals to the browser's `localStorage`. Under the hood, it clones the current state and stores it under a key defined by the `surveyPath` above. If the digitizer initiates with a `surveyPath` matching one in the cache, it will prompt the user with an option to resume the previous session, before importing the survey anew.
`localStorage` is somewhat unpredictable and browsers purge it regularly, so this is meant to be a backup rather than a reliable storage method.