Backend for an OSM data analysis tool. Uses osm-qa-tiles as input data.
Generates a user experience file (experiences.json
) to be used with run.sh
.
Creates vector tiles for a specific feature type (e.g. buildings). Requires an experience data file (see above). A job is defined in the corresponding <job>.json
file. See building.json
for an example. The binningfactor determines how fine the grid at lower zoom levels should be calculated (default: 64).
Output is <job>.mbtiles
.
Fetches the list of HOT projects outlines from the tasking manager API. Generates vector tiles of the raw geometries and a geojson of simplified outlines (convex hulls limited to 40 vertices). Publishes the results on Amazon S3.
The script in the server
directory is an example for how to provide the data to the osm-analytics frontend over the web.
See run.sh
for an example invocation of the scripts above and integration with the example server.
An overview of all steps required to implement an instance of osm-analytics can be found here (work in progress)