NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

abakali
11112
accept rate: 0%

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?

(18 Apr '17, 12:41) SomeoneElse ♦

Another possibility here is that the mapnik "plugins_dir" in renderd.conf is incorrect. The current github version is:

plugins_dir=/usr/lib/mapnik/3.0/input

which is correct for Ubuntu 16.04, but if you're running an older version of mapnik it might be perhaps:

plugins_dir=/usr/lib/mapnik/2.2/input
(02 Dec '17, 01:01) SomeoneElse ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×341

question asked: 18 Apr '17, 12:24

question was seen: 4,928 times

last updated: 02 Dec '17, 01:01

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum