/osm-fieldwork-kivy-mock

Mock Kivy UI for hotosm/osm-fieldwork

Primary LanguagePython

Simple Kivy UI for osm-fieldwork

Features

  • Currently supports basemapper.py and CSVDump.py, with only minor modifications needed to support the other programs.
  • Generates the form for a program given arguments (which are easily configurable).
  • Support for 'required' and 'default' values
  • Custom classes for FileDialog and RadioButtons.
  • Links to osm_fieldwork and executes the respective function with gathered form args.
  • Can compile to android using buildozer
  • Logs the program output inside an application (good for mobile debugging).
  • Argument fields in the form have clickable explanations.

Considerations

  • TextField type validation (comma separated, URL) etc, can be added easily .
  • No ScreenManager yet.
  • No Homescreen, logo, UI design or theming.
  • Does not compile to android with the osm-fieldwork module imported ( investigating this).

Some Pictures

image
Home

image image image
BaseMapper

image
LogStream

image
CSVDump

image
Argument Description

Usage

  • Create a venv and install requirements.txt
  • Then run python main.py
  • There might be additional complications setting up Kivy adressed here.
  • Generating the android apk file involves installing and setting up buildozer detailed here ( can be a long process depending on internet speed and packet fetch failures).