> Good. If you pass the --verbose flag, it will also spit out the bbox that > countains all the layer extents.
$ nik2img.py test2.xml test2.png -v
Step: 1 // --> Nik2img starting...
Step: 2 // --> Format: png
Step: 3 // --> Loading mapfile...
Step: 4 // --> Loaded test2.xml...
### WARNING: Failed to load image file '/home/nick/images/pub.png': cannot open
image file /home/nick/images/pub.png
### WARNING: Failed to load image file '/home/nick/images/mast.png': cannot
open image file /home/nick/images/mast.png
### WARNING: Failed to load image file '/home/nick/images/carpark.png': cannot
open image file /home/nick/images/carpark.png
### WARNING: Failed to load image file '/home/nick/images/farm.png': cannot
open image file /home/nick/images/farm.png
Step: 5 // --> Setting Map view...
Step: 6 // --> Zoom to extent of all layers:
"Envelope(-1.5749997,50.7998221333,-1.2170842,51.0384324667)"
Step: 7 // --> Finished setting extents...
Loading map took... 0.4417 seconds
Step: 8 // --> SRS: +proj=latlong +datum=WGS84
Step: 9 // --> Map extent:
Envelope(-1.5749997,50.7998221333,-1.2170842,51.0384324667)
Step: 10 // --> Map long/lat bbox:
Envelope(-1.5749997,50.7998221333,-1.2170842,51.0384324667)
Step: 11 // --> Map center: Coord(-1.39604195,50.9191273)
Step: 12 // --> Map long/lat center: Coord(-1.39604195,50.9191273)
Step: 13 // --> Map scale denominator: 237160.542899
Step: 14 // --> Extent of all layers:
Envelope(-1.5749997,50.8159089,-1.2170842,51.0223457)
Step: 15 // --> Long/lat extent of all layers:
Envelope(-1.5749997,50.8159089,-1.2170842,51.0223457)
Step: 16 // --> Long/lat center of all layers: Coord(-1.39604195,50.9191273)
Step: 17 // --> Layers intersecting map: [leisure, waterway, lakes, roads,
amenity, roadstext, text]
Step: 18 // --> At current scale of '0.000596525833333'...
Step: 19 // --> layer 'leisure' is visible
Step: 20 // --> layer 'waterway' is visible
Step: 21 // --> layer 'lakes' is visible
Step: 22 // --> layer 'roads' is visible
Step: 23 // --> layer 'amenity' is visible
Step: 24 // --> layer 'roadstext' is visible
Step: 25 // --> layer 'text' is visible
Step: 26 // --> Starting rendering...
Rendering image took... 1.3526 seconds
Step: 27 // --> Finished rendering map to... test2.png
Total Nik2img run time: 1.8078 seconds
> Well, what is your map srs? the bounding box must be in the coordinates of
> your map srs.
http://trac.mapnik.org/browser/trunk/plugins/input/osm/test2.osm
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

