[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] Cairo error

From: Espen Isaksen
Subject: [Maposmatic-dev] Cairo error
Date: Sat, 14 Nov 2009 18:38:04 +0100


I have been testing out Maposmatic on a Mac by installing Mapnik
thorough Macports. However, I have problem. I am able to render the
street index but not the map itself. I get the error below. Can
somebody try to get me to the right direction of the problem here?

Kind regards,

INFO:ocitysmap:City bounding box is (59.9808,10.6622 59.8916,10.8514).
DEBUG:ocitysmap:rendering tmp dir: /tmp/ocitysmapGhiq2s
DEBUG:ocitysmap:rendering from
/Users/maria/Documents/mapnik/osm/mapnik/osm.xml to
DEBUG:ocitysmap:bbox is: (59.9840,10.6559 59.8916,10.8514)
DEBUG:ocitysmap:Geo size: 10872.4126556x10276.3492888,
pixels=9110x8627, 1m=0.837900499972|0.839500464374
DEBUG:ocitysmap:adding labels...
DEBUG:ocitysmap:500m = 418.950250 pixels
DEBUG:ocitysmap:rendering map...
DEBUG:ocitysmap:rendering to bbox
Envelope(10.6559283825,59.89155,10.85139,59.9839676325) as
DEBUG:ocitysmap:rendered to bbox
Envelope(1186212.52147,8375632.17093,1207971.2092,8396169.32451) as
DEBUG:ocitysmap:saving citymap.pdf...
Error while rendering pdf:
Traceback (most recent call last):
  File "/Users/maria/Documents/mapnik/ocitysmap/ocitysmap/",
line 743, in _render_map_into_files
    copyright_logo_png = copyright_logo)
  File "/Users/maria/Documents/mapnik/ocitysmap/ocitysmap/",
line 366, in save_map
    mapnik.render(self._map, ctx)
ArgumentError: Python argument types in
    mapnik._mapnik.render(Map, cairo.Context)
did not match C++ signature:
    render(mapnik::Map, mapnik::Image32 {lvalue})
    render(mapnik::Map, mapnik::Image32 {lvalue}, unsigned int, unsigned int)
DEBUG:ocitysmap:saving citymap.pdf...
DEBUG:ocitysmap:rendering citymap_index.pdf...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]