Kai Krueger schrieb:
I am trying to see how far I can get with generating
some images on
osm-render seems to require the pthyon cairo module
i fixed /home/project/o/s/m/osm/tools/render/osm-render to work without
the cairo module but it complains about errors in the style xml, located
in /home/project/o/s/m/osm/data/osm_mapnik/osm.xml.
mazder@willow:~$ /home/project/o/s/m/osm/tools/render/osm-render
rendering bbox (-180, -85, 180, 85) in style
/home/project/o/s/m/osm/data/osm_mapnik/osm.xml to file map which is of
type png in size 800x600
/home/project/o/s/m/osm/data/osm_mapnik/inc/entities.xml.inc:9: parser
warning : PEReference: %layers; not found
%layers;
^
Traceback (most recent call last):
File "/home/project/o/s/m/osm/tools/render/osm-render", line 128, in
<module>
main()
File "/home/project/o/s/m/osm/tools/render/osm-render", line 81, in main
mapnik.load_map(m, style)
UserWarning: XML document not well formed:
Entity 'layer-admin' not defined in file
'/home/project/o/s/m/osm/data/osm_mapnik/osm.xml' at line 6503
mazder@willow:~$
I don't have the time to fix this atm, maybe you can.
If all goes well, it should produce a map.png in your working-dir,
containing a world-overview. I think, the paths to the shoreline-files
still has to be changed.
Peter