maposmatic-dev
[Top][All Lists]
Advanced

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

[Maposmatic-dev] About the rendering of Arles


From: David MENTRE
Subject: [Maposmatic-dev] About the rendering of Arles
Date: Thu, 7 Jan 2010 18:20:29 +0100

Hello,

Following an advice of Thomas, I tried to render Arles on my 64 bits
machine (4 Gb) of RAM. Ocitysmap fails immediately at Cairo PNG
surface creation with following backtrace:

[...]
DEBUG:ocitysmap:rendering to bbox
Envelope(4.42172096704,43.3269328732,4.87635236769,43.763556775) as
28166x21188...
DEBUG:ocitysmap:rendered to bbox
Envelope(492223.726481,5361867.5,542833.0625,5428924.66128) as
28074x21188.
DEBUG:ocitysmap:saving /tmp/arles.png...
Error while rendering png:
Traceback (most recent call last):
  File "/home/david/maposmatic/ocitysmap/ocitysmap/street_index.py",
line 1098, in _render_map_into_files
    copyright_logo_png = copyright_logo)
  File "/home/david/maposmatic/ocitysmap/ocitysmap/map_canvas.py",
line 348, in save_map
    self._map.height + frame_width*2)
  File "/home/david/maposmatic/ocitysmap/ocitysmap/map_canvas.py",
line 324, in <lambda>
    lambda w,h: cairo.ImageSurface(cairo.FORMAT_RGB24, w, h)
MemoryError


Any idea how to allow create big PNG with Cairo?

Regards,
d.




reply via email to

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