I have an OSM tile server that I built using switch2osm "Building a tile server from packages". It works fine. Now I want to make some styling changes. I have set up openstreetmap-carto as per the instructions. When I create the xml file I get the same error as described in a previous post I took the advice there and now get SQL errors:
Any help would be fantastic. Harold Ship asked 01 Oct '14, 12:57 haroldship |
You need to upgrade your Mapnik version. Without knowing details about how you installed Mapnik and OS versions and other information, I can't suggest an exact course of action but you might want to
answered 02 Oct '14, 16:03 pnorman |
A couple of notes from IRC when this was first raised:
The required mapnik version was increased to 2.1.0 in May. I'm fairly sure that someone's been through the "packages" switch2osm instructions since then (though perhaps with a different stylesheet?) so maybe there wasn't a requirement for Mapnik 2.1 immediately.
The lines causing the error with your older Mapnik seem to have been introduced on August 14th. One workaround would be to get a local copy of openstreetmap-carto via "git clone https://github.com/gravitystorm/openstreetmap-carto" and then checkout an earlier version from there, perhaps via:
That might work.
In the longer term an update to or a replacement for the "packages" version of the switch2osm instructions (which is under way, I believe) is probably what's needed.