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

I'm getting this error...

"RuntimeError: This map uses features only present in Mapnik version 0.7.1 and newer (in node Map)"

What does it mean?

I've just run osm2pgsql and it seemed to do it's thing (populate the database, though I'm not sure what the best way to check that is) The error occurs when I run ./generate_image.py By "this map" I presume it means the data which I've just loaded into the DB.

So maybe I have a an osm2pgsql<->Mapnik version mismatch. I'm on Mapnik v0.7.0 and osm2pgsql0.66

asked 08 Dec '10, 02:24

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128
accept rate: 14%

edited 21 Jan '11, 09:20

TomH's gravatar image

TomH ♦♦
3.3k83943


It has nothing to do with osm2pgsql - this is purely related to the osm.xml stylesheet. Basically the stylesheet maintainers have started using new Mapnik features that are only available in >= Mapnik 0.7.1, and this is an error they intended to be triggered since your Mapnik version is not the latest. If you are not able to upgrade to mapnik 0.7.1 then you can remove the 'minimum_version' item at the top of the <map ...=""> and go on your way - you just may run into other errors or bugs due to lacking functionality in Mapnik 0.7.0 (most likely you will need to add 'width' and 'height' back to all symbolizers that read in png symbols).

permanent link

answered 08 Dec '10, 07:12

springmeyer's gravatar image

springmeyer
7112
accept rate: 100%

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
×3

question asked: 08 Dec '10, 02:24

question was seen: 5,165 times

last updated: 21 Jan '11, 09:20

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