/firebase-collect

A mobile-first web app for GPS data collection using firebase. The app has built-in support for RTK corrections using proj4.

Primary LanguageJavaScript

Open Collect

A simple GPS data collection app, for now based on Google's Firebase Realtime Database. It allows for ad-hoc custom text fields.

To be used for testing only not to be used for production. Everything may change!

Workflow

  1. Login/Add User
  2. Check for existing project in localstorage
  3. If project exists, load data
  4. If none exists, run settings modal
  5. Settings modal saves to localstorage and database
  6. If settings modal launched and changed, reload project data

ToDo

  • Settings modal window that adjusts which project, tie in with login window
  • Adjust placement of buttons to not to conflict with toast
  • look at adding toast at top
  • hide native gps control
  • incorporate into current theme
  • add all classes and sub classes
  • add logic for determining which classes get put into the modal window
  • add addresses?
  • Add offline support
  • Disable submit if no changes were made - changed to just not saving but closing modal
  • add sanitary layers
  • Add feature form builder after adding location - changed to not saving until submit is clicked
  • change submit button to check and cancel buttons
  • add properties modal dialog for lines
  • make highlight for features or
  • add properties modal dialog with dropdowns for points
  • add edit modal on click or put in toast
  • Cancel out of the network connection
  • keep track of current feature either clicked or sent to the database
  • make global currently selected feature for variety of things
  • success alert of toast on success of writing feature

Dependencies

TurfJS proj4.js Mapbox GL JS Firebase Spectre.css

LICENSES

Icon made by Vectors Market from www.flaticon.com