This is the part of Osmose which analyses OSM and sends the results to the frontend. This works as follows:
- an .osm.pbf extraction is downloaded
- analyses are run directly on the .osm.pbf file, or on the database
- results of the analyses are uploaded to the frontend
- by default, the database is purged
Analysers can be build in many ways:
- With MapCSS rules validating each OSM objects: plugins/*.mapcss and JOSM MapCSS core and some contrib rules.
- With Python code validating each OSM objects: plugins.
- With SQL/PostGIS queries on the Osmosis database: analysers/analyser_osmosis_*.py.
- By configuring a comparator of OpenData and OSM objects: analysers/analyser_merge_*.py.
The default way to setup Osmose Backend is through Docker. Look at the docker/README.md.
You can also install manually on a debian distribution INSTALL.md.
Look at the osmose_run.py help for options
osmose_run.py -h
Setup a Docker install and follow the "Develop on Osmose with docker" guide.
Read the additional contribution guidelines.