Skip to content

OpenMapKit Server is the lightweight server component of OpenMapKit that handles the collection and aggregation of OpenStreetMap and OpenDataKit data.

License

Notifications You must be signed in to change notification settings

mapabq/OpenMapKitServer

 
 

Repository files navigation

OpenMapKit Server

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.

If you want to run OpenMapKit Server for your field mapping survey, use the POSM Build Installation instructions.

Project Structure

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.

The Basics

After your installation is done, you can see if the server is alive at:

http://{{your_host_url}}/info

To get forms and send submissions in ODK Collect set:

ODK Collect > General Settings > Configure platform settings > URL

http://{{your_host_url}}

See all of the pages on your server:

http://{{your_host_url}}/pages/

Upload an XLS Form:

http://{{your_host_url}}/pages/upload-form/

API

Check out the API Documentation for details about the REST API.

[![ZenHub] (https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)] (https://zenhub.io)

Miscellany

Testing XML Submissions

curl -F [email protected] http://localhost:3210/submission

About

OpenMapKit Server is the lightweight server component of OpenMapKit that handles the collection and aggregation of OpenStreetMap and OpenDataKit data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 76.3%
  • JavaScript 20.5%
  • HTML 3.1%
  • Shell 0.1%