2009/11/1 Philip Stubbs <[email protected]>:
> Hi all,
>
> I am new hear but I don't know where else to look. I have installed
> mapnik and am trying to get the generate_tiles script to work. It is
> causing a segmentation fault when mapnik.render is called. I have
> tried the 'hello world' example and that works, but I notice that uses
> mapnik.render_to_file. Therefore I tried to adjust that script to use
> the mapnik.render method, and it also then seg faulted.
>
> I am not a programmer, and what little I do know is not in Python :-(
> My Google foo is also weak today. Any help would be appreciated.

Ops! Should have said that I am running Ubuntu 9.10, I installed
python-mapnik and Postgres from the Ubuntu repositories, and followed
the set-up guide from the openstreetmap wiki.

Now I have made a copy of the generate_image.py script and changed it
to use mapnik.render_to_file, and it has just successfully rendered an
image of the UK. This is going to be of more use to me than the tiles,
so I think I am sorted. Still, it would be good to know why the one
method works when the other does not. I may in the future want a local
tile server.


-- 
Philip Stubbs
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to