An error occurred while loading the map layer 'ajt': Could not create datasource for type: 'shape' encountered during parsing of layer 'world' in Layer at line 245 of '/home/renderaccount/src/openstreetmap-carto/mapnik.xml'renderd[2600]: An error occurred while loading the map layer 'ajt': Could not create datasource for type: 'shape' encountered during parsing of layer 'world' in Layer at line 245 of '/home/renderaccount/src/openstreetmap-carto/mapnik.xml'renderd[2600]: An error occurred while loading the map layer 'ajt': Could not create datasource for type: 'shape' encountered during parsing of layer 'world' in Layer at line 245 of '/home/renderaccount/src/openstreetmap-carto/mapnik.xml'renderd[2600]: An error occurred while loading the map layer 'ajt': Could not create datasource for type: 'shape' encountered during parsing of layer 'world' in Layer at line 245 of '/home/renderaccount/src/openstreetmap-carto/mapnik.xml' asked 18 Apr '17, 12:24 abakali |
I'm guessing that this is following https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/ or similar? If not that, which were you following?
Are there any differences between what you're doing and what is written in those instructions (are you using a different style, perhaps, or are you running a different OS?
What's the full "World" layer definition look like in XML? I'd expect that there would be a file attribute such as "[data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp" - does a file with that name exist, and if so where?
Another possibility here is that the mapnik "plugins_dir" in renderd.conf is incorrect. The current github version is:
which is correct for Ubuntu 16.04, but if you're running an older version of mapnik it might be perhaps: