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

Hey guys I was following this guide to setup my own tile server.

Today I finished my import of europe. After starting renderd I got the following messages:

renderd[19189]: Loading parameterization function for
renderd[19189]: Loading parameterization function for renderd[19189]: Loading parameterization function for

renderd[19189]: An error occurred while loading the map layer 'default': failed to parse image-filters: 'scale-hsla(0,1,0,1,0.6,0.95,0                                                                                                                                         ,1)' in style 'landcover-low-zoom-low-zoom' in Style at line 376 of '/opt/openstreetmap-carto/mapnik.xml'
renderd[19189]: An error occurred while loading the map layer 'default': failed to parse image-filters: 'scale-hsla(0,1,0,1,0.6,0.95,0                                                                                                                                         ,1)' in style 'landcover-low-zoom-low-zoom' in Style at line 376 of '/opt/openstreetmap-carto/mapnik.xml'
renderd[19189]: An error occurred while loading the map layer 'default': failed to parse image-filters: 'scale-hsla(0,1,0,1,0.6,0.95,0                                                                                                                                         ,1)' in style 'landcover-low-zoom-low-zoom' in Style at line 376 of '/opt/openstreetmap-carto/mapnik.xml'
renderd[19189]: An error occurred while loading the map layer 'default': failed to parse image-filters: 'scale-hsla(0,1,0,1,0.6,0.95,0                                                                                                                                         ,1)' in style 'landcover-low-zoom-low-zoom' in Style at line 376 of '/opt/openstreetmap-carto/mapnik.xml'

If I hit my URL I get this messages:

renderd[19189]: DEBUG: Got incoming connection, fd 8, number 1
renderd[19189]: DEBUG: Got incoming request with protocol version 2
renderd[19189]: DEBUG: Got command RenderPrio fd(8) xml(default), z(0), x(0), y(0), mime(image/png), options()
renderd[19189]: Received request for map layer 'default' which failed to load
renderd[19189]: DEBUG: Sending render cmd(4 default 0/0/0) with protocol version 2 to fd 8
renderd[19189]: DEBUG: Failed to read cmd on fd 8
renderd[19189]: DEBUG: Connection 0, fd 8 closed, now 0 left

For now I have no Idea what the error could be. Or if the errors are related. Hopefully someone can help me here.

Thanks in advance Dominic

asked 14 Sep '17, 13:59

Nevyen's gravatar image

Nevyen
11223
accept rate: 0%

Obviously "failed to parse image-filters" isn't "normal" - it suggests that mapnik is confused. What OS and version are you using, and did mapnik come via "apt-get" or some other method?

(14 Sep '17, 14:23) SomeoneElse ♦

OS is Debian 8. We installed Mapnik 2.2 via apt-get.

(14 Sep '17, 16:24) Nevyen

If you're using Mapnik 2.2, you'll need to use a map style that supports it, or an old version of a current map style that supported Mapnik 2.2 at some time in the past.

Back before various node.js stuff was fixed to work, the switch2osm instructions used to say something like:

git checkout `git rev-list -n 1 --before="2016-11-28 00:00" master`

that gets a version of the style from late November 2016, and I think that's the latest date that you don't need a bleeding edge carto for, and with a bit of luck it might work on Mapnik 2.2. Never tried it on Debian 8 myself, though.

permanent link

answered 14 Sep '17, 16:48

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

I will check this out tomorrow when I have access to the server. Thanks for this hint.

(14 Sep '17, 16:51) Nevyen

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:

×440
×341
×105
×80

question asked: 14 Sep '17, 13:59

question was seen: 4,687 times

last updated: 14 Sep '17, 16:51

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