Thanks for the hints! In order to be able to understand where is the problem i've reduced the code to a minimal example, just rendering roads. Here is the soruce:http://pastie.org/2636987 Here is the run output (Mapnik has been compiled in debug): http://pastie.org/2636990
The program, as usual :(, is printing out a blank image. Hope someone can help me, i've no more ideas! Thanks to all Gianluca Graham Jones-3 wrote: > >> >> >> Now I have never used planet_osm_roads - I am not really sure what it is >> for - I always render roads from the planet_osm_line table with something >> like: >> "select way, highway, name from planet_osm_line where highway is not >> null" >> >> >> I think I may have been talking rubbish, sorry - the planet_osm_roads >> table > does look useable, but it is not clear to me what your layers and styles > are > trying to achieve - there are lots of filters in it, which do not look > like > they will work with OSM data - for example the [CLASS] filter in the roads > style does not look like something from OSM - for OSM you would want to > filter on highway='primary' and things like that. Is the example you > have > built from using shapefiles from another source rather than OSM data? > > I would still say go for something as simple as you can possibly get it, > then build back up once you have it working. > > Alternatively, follow the mapnik rendering instructions on the OSM wiki, > which will give you a very complicated style that will plot all sorts of > data. > > Regards > > > Graham. > -- > Graham Jones > Hartlepool, UK. > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users > > -- View this message in context: http://old.nabble.com/Mapnik-coordinates%2C-zoom_to_box-tp32576024p32588132.html Sent from the Mapnik - Users mailing list archive at Nabble.com. _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

