[OSM-dev] mapnik standard Directories

Jochen Topf jochen at remote.org
Sun Jan 21 13:01:11 GMT 2007


On Sun, Jan 21, 2007 at 01:00:59PM +0100, Joerg Ostertag (OSM Munich/Germany) wrote:
> On Sunday 21 January 2007 12:44, you wrote:
> > On Sun, Jan 21, 2007 at 11:46:39AM +0100, Joerg Ostertag (OSM 
> Munich/Germany) wrote:
> > > I'd like to adjust the direcoty names of the mapnik-xml files in svn.
> > > I would suggest to use the user mapnik as default user being used in svn.
> > > In a result he will have the svn.openstreetmap.org in the
> > > directory /home/mapnik/svn.openstreetmap.org and the default database
> > > user will be mapnik.
> > >
> > > Any voices against this?
> > >
> > > Other directories:
> > > basedir: /home/mapnik/svn.openstreetmap.org
> > > vmap0:   /home/mapnik/osm/vmap0/...
> > > icons:   /home/mapnik/svn.openstreetmap.org/utils/mapnik/symbols
> >
> > I don't use mapnik (yet), but I think it is bad style to have hardcoded
> > directory names in subversion. It leads to all sorts of problems, for
> > instance you can't ever have more than one copy of the tree.
> >
> > I suggest using an environment variable for finding the root of the
> 
> If you're firm with these XML files. It's up to you, but I'm not. 
> So my Idea was to make at least all pointing onto one homedir. Not scattered 
> arround in different directories:
> 	/data
> 	/home/artem/
> 	/home/steve/
> 	...
> So I would like to be able to install it on different Computers with only 
> doing one sed/.../ and noting more. But if you can change it to use an 
> environment variable.... great.

I am not using mapnik, so I don't know about details. But I can't see
any problem with using env variables. A sed/.../ should never be needed.
Whoever is the mapnik maintainer should fix that.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298





More information about the dev mailing list