[OSM-dev] generate_xml.py not generating osm.xml file?
sajjadkm at gmail.com
Fri Aug 27 15:23:55 BST 2010
> I did read the README file, but this seems to be a catch-22 here. if it
> uses osm.xml itself to generate osm.xml - how do you initially create
> the first osm.xml, from the style sheets / templates?
> The osm.xml file is a bit confusing in this scenario. You can see that the
osm.xml file that came along with Mapnik is not the dataset, rather, it
contains certain rules which support the rendering of tiles. You are
actually loading the map data into the pgsql db and asking *
generate_image.py *or*generate_tiles.py *to generate the image or set of
tiles as the case may be.
If you want to make some modifications in the styles and fonts for the
rendering, you could tweak this rule file.
Also note that, Mapnik does not intend you to give the data in xml format,
but it reads the data only from the pgsql database.
The following link contains pointers to setting up Mapnik and basic rules
Sajjad Anwar | http://geohackers.in | Blog: http://sajjad.in | Twitter:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev