As part of the testing process I now generate samples of all base and overlay styles for a predefined area, measuring the time it takes to render (with all three result formats linked) and creating a list of thumbnail PNGs on an overview page, linking to the actual full size PNGs.
Next step: integrate the thumbnails into the style selection part of the “new map” form in some clever way …
A small addition to the Fire Hydrant Overlay: defibrillators.
WayMarkedTrails overlays for hiking routes etc. are currently not available as the underlying database needs to be reimportet.
Continue reading “WayMarkedTrails database reimport”
First result of the hallway discussion after yesterdays conference talk: I can now offer the OpenPtMap style as a new overlay choice for displaying public transport routes.
I gave a talk about the current state of my MapOSMatic instance on day one of the FOSSGIS 2017 conference in Passau (Germany) yesterday.
Continue reading “FOSSGIS 2017 talk – Printing OSM Data”
Rendering PDF, PNG and SVG output makes Mapnik execute the same set of queries three times in a row. This has two effects:
- rendering takes longer as queries are re-executed
- output of the different formats may differ as data may have changed in between
By using the PostgreSQL Query Cache with a cache time of 10 minutes rendering the additional formats takes less time as query results can be reused, this also guarantees that all three formats are rendered using the same data.
On the other hand re-issuing a render request within less than ten minutes will not show changed data. This shouldn’t be much of an issue though as right now OSM changes are only processed every 15 minutes anyway.
This instance allows to render larger areas than the original MapOSMatic site. This lead to rendering failures in same cases as I didn’t raise the rendering timeout at the same time.
The timeout has now been changed from 20 minutes to one hour.
Now that the database reimport has finihsed I was finally able to enable Michael von Glasgows Pistemap style on the production server.
This style now replaces the older OpenPisteMap overlay with a full standalone stylesheet, including hillshading (only for the european Alpes so far though).
For example output see e.g. this test rendering of the Val Thorens area in France
I’m going to do an OSM database reimport this weekend (Feb 25-26).
The web frontend will be online most of the time, so existing maps can still be retrieved, and new rendering jobs can be created, but the rendering daemon will be offline for at least all of Saturday, probably most of Sunday, too.
So don’t expect any new jobs entered over the weekend to be rendered before Monday, Feb. 27th, and the database may still be a bit behind for a few more days until things have fully caught up with minutely diffs again.
Continue reading “Database maintenance”