[OSM-dev] (unofficial) Mapnik 0.7.1. packages for Ubuntu 10.04

Phil! Gold phil_g at pobox.com
Fri Dec 24 16:16:39 GMT 2010


* fatzopilot <fatzopilot at gmx.net> [2010-12-24 07:31 -0800]:
> * Where to put the config (osm.xml) and auxiliary files (boundaries
> etc.)?

osm.xml and its include files should probably be in
/usr/share/doc/<package>/examples/.  The world boundary shapefiles would
probably be best somewhere under /usr/share/<package>/.  It might also be
useful to have a separate package for the world files, since their changes
are independent of mapnik's (and users might potentially want the
shapefiles without mapnik).  Since the symbols are less likely to be
modified by end users, they would probably be best in
/usr/share/<package>/symbols/.

I don't think would even require patching generate_xml.py, since you can
pass the location of the include and world boundary directories as
parameters.

An alternate approach, if you make the assumption that most people wo
install the package will be using the stylesheets unchanged, would be to
put all the stylesheets somewhere under /usr/share/<package>/, too.

-- 
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
The printer thinks it's a router.
                       -- BOFH excuse #117
---- --- --



More information about the dev mailing list