> But the file osm.xml is not updated and dosn't work with
> generate_tiles.py...

That's correct. The osm.xml file isn't updated by this script. That's as
designed. The script updates/creates 3 files in the inc/ directory with
your settings. These files are included into the base osm.xml by the XML
parser.

> Then I followed the install.txt in manik/archive:
[...]
>  ./customize-mapnik-map >$MAPNIK_MAP_FILE

It isn't called 'archive' for nothing. You don't need anything from that
directory to set up mapnik with the current OSM style.

> The resulting osm.xml file works fine with generate_tiles.py, and it has
> one
> admin layer and one place_names layer:

That's because it's an old version, from before the low zoom purple
boundary lines were added.

> I have now got the generate_xml.py program to update osm.xml by (from
> generate_xml.py -help):
>    ./generate_xml.py osm.xml my_osm.xml --host localhost ...

So, adding that "osm.xml my_osm.xml" bit is unnecessary, but doing it this
way will create a single stylesheet file that's a combination of osm.xml
and the files in inc/. If you're not planning to keep synched with svn, or
don't mind doing this extra step everytime you run svn update, using a
my_osm.xml copy of the stylesheet does no harm.

Otherwise, syncing the style to OSM is a matter of only running 'svn up'
and restarting your rendering script/tool.

-- 
Lennard

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to