Hi All,
I'm new to Mapnik and have been trying to get it set up with the ultimate aim
of setting up tile server to serve customised OpenStreetmap tiles of the UK.
Working through the tutorials on the website I've got the "Hello world"
examples working. I've not imported the whole world into PostGIS, but have (I
think!) successfully imported extracts for the UK.
However when I try to render tiles I get the following error after a few
seconds -
[r...@mapnik mapnik]# source set-mapnik-env
[r...@mapnik mapnik]# ./customize-mapnik-map >$MAPNIK_MAP_FILE
[r...@mapnik mapnik]# ./z0_generate_tiles.py
render_tiles( (-180.0, -90.0, 180.0, 90.0) /root/mapnik/osm.xml
/root/mapnik/tiles/ 0 0 World )
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "./z0_generate_tiles.py", line 106, in loop
self.render_tile(tile_uri, x, y, z)
File "./z0_generate_tiles.py", line 82, in render_tile
self.m.resize(render_size, render_size)
AttributeError: 'Map' object has no attribute 'resize'
My Googling of this error has been fruitless, so is anybody able to shed any
light on what the problem here is? Any ideas would be very much appreciated.
Thanks in advance,
Tim
________________________________
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or organisation to whom they are
addressed. If you have received this email in error please notify the sender
immediately. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of the
company. Finally, this email and any attachments have been checked for viruses,
but recipients should make their own checks. The company accepts no liability
for any damage caused by any virus transmitted by this email.
Opinion Research Services Ltd is registered in England and Wales: company
number 2904006
ORS, The Strand, Swansea SA1 1AF - 01792 535300 - www.ors.org.uk
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users