generate_tiles.py not working

View: New views
3 Messages — Rating Filter:   Alert me  

generate_tiles.py not working

by Alauddin Khan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all
           hop tht my mail will find u all in good health this is my 1st mail to this community and i am sure tht u will help me out i get the following output when i run generate_tiles.py  from command line

./z0_generate_tiles.py
render_tiles( (11.4, 48.07, 11.699999999999999, 48.219999999999999) /home/fulhaq/osm/osm-mapnik/osm.xml /home/fulhaq/osm/osm-mapnik/tiles/ 1 12 Muenchen )
Traceback (most recent call last):
  File "./z0_generate_tiles.py", line 197, in <module>
    render_tiles(bbox, mapfile, tile_dir, 1, 12 , "Muenchen")
  File "./z0_generate_tiles.py", line 126, in render_tiles
    renderer = RenderThread(tile_dir, mapfile, queue, printLock, maxZoom)
  File "./z0_generate_tiles.py", line 59, in __init__
    mapnik.load_map(self.m, mapfile, True)
UserWarning: Failed to find font face 'DejaVu Sans Book' in TextSymbolizer in style 'stations'


what i need to do to get a proper output ??
thanking in anticipation

Regards
Alauddin


_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: generate_tiles.py not working

by Kenneth Gonsalves-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 07 Oct 2009 11:00:25 am Alauddin Khan wrote:
> UserWarning: Failed to find font face 'DejaVu Sans Book' in TextSymbolizer
> in style 'stations'
>
>
> what i need to do to get a proper output ??
> thanking in anticipation

 either install the required font face, or if installed, make sure the path to
it is correct
--
regards
Kenneth Gonsalves
Senior Project Officer
NRC-FOSS
http://nrcfosshelpline.in/web/
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: generate_tiles.py not working

by Dane Springmeyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The DejaVu fonts should be installed automatically by mapnik. I would  
recommend repeating the mapnik install steps and if the fonts are  
still not found send a message back to the list with your exact  
install method and platform.

Dane



On Oct 6, 2009, at 10:30 PM, Alauddin Khan <khan.alauddin@...>  
wrote:

> Dear all
>            hop tht my mail will find u all in good health this is my  
> 1st mail to this community and i am sure tht u will help me out i  
> get the following output when i run generate_tiles.py  from command  
> line
>
> ./z0_generate_tiles.py
> render_tiles( (11.4, 48.07, 11.699999999999999, 48.219999999999999) /
> home/fulhaq/osm/osm-mapnik/osm.xml /home/fulhaq/osm/osm-mapnik/
> tiles/ 1 12 Muenchen )
> Traceback (most recent call last):
>   File "./z0_generate_tiles.py", line 197, in <module>
>     render_tiles(bbox, mapfile, tile_dir, 1, 12 , "Muenchen")
>   File "./z0_generate_tiles.py", line 126, in render_tiles
>     renderer = RenderThread(tile_dir, mapfile, queue, printLock,  
> maxZoom)
>   File "./z0_generate_tiles.py", line 59, in __init__
>     mapnik.load_map(self.m, mapfile, True)
> UserWarning: Failed to find font face 'DejaVu Sans Book' in  
> TextSymbolizer in style 'stations'
>
>
> what i need to do to get a proper output ??
> thanking in anticipation
>
> Regards
> Alauddin
>
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users@...
> https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users