[OSM-dev] mapnik

Rob Reid rob at robreid.co.nz
Mon May 4 03:23:33 BST 2009


Mohamad Ali wrote the following on 04/05/2009 12:59:
> I tried to Redo:
> user at pc1:~/mapnik$ source set-mapnik-env
> user at pc1:~/mapnik$ ./customize-mapnik-map >$MAPNIK_MAP_FILE
> user at pc1:~/mapnik$ ./z0_generate_tiles.py
> I get This on the screen:
>
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>   
>
> 1.Is that mean , the rendering is under process??
> If yes, how long should I wait till I get then PNG on a tiles folder?
>   
Mohamad,
I'm not sure what is causing your problem but just so you know normal 
output looks like the following for me and takes about 15 seconds to 
complete.

    rob at mapserver:~/mapnik$ python z0_generate_tiles.py
    render_tiles( (-180.0, -90.0, 180.0, 90.0) /home/rob/mapnik/osm.xml
    /home/rob/mapnik/tiles/ 0 0 World )
    World [ 0 - 0 ]:  0 0 0 p: (-180.0, -85.051128779806589) (180.0,
    85.051128779806604) 
    World [ 0 - 0 ]:  0 0 1 p: (-180.0, -89.990752516489039) (180.0,
    -85.051128779806589) 
    World [ 0 - 0 ]:  0 1 0 p: (180.0, -85.051128779806589) (540.0,
    85.051128779806604) 
    World [ 0 - 0 ]:  0 1 1 p: (180.0, -89.990752516489039) (540.0,
    -85.051128779806589) 
    rob at mapserver:~/mapnik$

I can only suggest checking the changes you made in 'set-mapnik-env' and 
'z0_generate_tiles.py' against the instruction on the webpage you are 
following as they worked for me.


rcr




More information about the dev mailing list