OpenMapKit Server is the lightweight NodeJS server component of OpenMapKit that handles the collection and aggregation of OpenStreetMap and OpenDataKit data.
This software is intended to run both on low-power embedded Linux systems, as well as on higher powered, cloud-based servers.
OpenMapKit Server is 100% database free! All data is persisted on the file system.
These instructions are for setting up and running OpenMapKit Server in your development environment.
deployments is the OpenMapKit deployment API. This services deployment data in the deployments data directory. Manifest files in this directory are read by OpenMapKit Android as metadata regarding the deployment data provided. Deployments are created by posm-admin. to provision deployment data that is fetched by OpenMapKit Android.
odk is the OpenMapKit ODK API. This is a REST API that handles all of the ODK business logic, including communicating with ODK Collect, as well as serving and ingesting ODK XForm data.
jekyll is where the front end pages live.
pages is where the Jekyll project is built. The pages are served from here.
data is where all of the data is stored on the server's file system.
util has utility functions useful to OpenMapKit Server as a whole.
After your installation is done, you can see if the server is alive at:
To get forms and send submissions in ODK Collect set:
ODK Collect > General Settings > Configure platform settings > URL
See all of the pages on your server:
Upload an XLS Form:
Check out the API Documentation for details about the REST API.
Testing XML Submissions
curl -F firstname.lastname@example.org http://localhost:3210/submission