- Entry points:
test-maps.html
tests the sub-project with Thunderforest background usingtiles.js
. See_index.js
, used also from proinfrastructura.rotest-hcd.html
tests the sub-project with google background usingvector-hcd.js
. See_roadQuality-gmaps.js
, can be used from proinfrastructura.ro, usingvector-hcd.js
index.html
, home without the_index.js
mechanismfull.html
full screen
osmimport
takes care of fetching from OSM (overpass) the infrastructure project data, mostly runs in the docker-osmimport containerosmimport/daily.sh
reads data from OSM and places it in the/data
folderosmimport/crontab.in
sets the frequency of the OSM import- after the OSM import, a prerendering script is executed in the
mapnik-docker
container:osmimport/rerender-quality.sh
nginx-quality.conf
is the nginx fragment that configures this sub-project in the the docker-mapnik container.- in principle it maps
/tiles
URIs totilestache
to draw the quality colors and write the year/ road name texts along the lines tilestache/quality.cfg
is the tilestache configuration for thetiles
layer. It makes use of the mapnik filetilestache/osm-noent.xml
- JS files are served from
/work/maps/road-quality
- in principle it maps
TODO:
- switch from leaflet to openlayers (already used by editor)
- tilestache (not active since 2019) is still tied to python 2.7 which is end of life. python3-mapnik is available though... TileStache/TileStache#279
- incremental update from OSM so more frequent updates can be made
- the
log
file are supposed to show the a log of road quality editing by various OSM users.- Stopped working propertly a few years ago when geofabrik stopped including user data in their export files due to GDPR.
- We are not using geofabrik any longer but an overpass script. So Maybe this can be fixed