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

heyho everybody!

I took generate_image.py and osm.xml from http://svn.openstreetmap.org/applications/rendering/mapnik/

when trying to compile I get the following ERROR:


Traceback (most recent call last):
  File "C:\0A\9\run_python.py", line 3, in <module>
    execfile(r"C:\0A\9\generate_image.py")
  File "C:\0A\9\generate_image.py", line 42, in <module>
    mapnik.load_map(m,mapfile)
RuntimeError: Unable to find any fontset named 'book-fonts' in TextSymbolizer in style 'area-text' in map 'osm.xml'

Can someone please tell me, what I might have done wrong? Would be very kind! Thanks!

Greetings Matze

asked 23 Mar '12, 10:12

MHein's gravatar image

MHein
141111116
accept rate: 0%

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
×84
×18
×15

question asked: 23 Mar '12, 10:12

question was seen: 3,941 times

last updated: 23 Mar '12, 10:12

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