This is the part of Osmose which analyses OSM and send results to frontend. This works as following:
- an .osm.pbf extract is downloaded
- analyses are run directly on .osm.pbf file, or on the database
- analyses results are uploaded to the frontend
- by default, database is purged
Analysers can be build on 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 Osmosis database: analysers/analyser_osmosis_*.py.
- By configuring a OpenData and OSM objects comparator: 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 guildelines.