source: subversion/applications/rendering/parking/mapnik/mapnik-to-bw-trunk.sh @ 28125

Last change on this file since 28125 was 26206, checked in by kdrangmeister, 8 years ago

settings as patch files

  • Property svn:executable set to *
File size: 774 bytes
Line 
1#! /bin/bash
2# run in the current workspace, assuming that "Parking" and "mapnik" are checked out projects.
3MAPNIKSRC=../../mapnik
4DESTDIR=/tmp/deploy
5TMPDIR=/tmp/parking-mapnik
6#-------------------------------------------------------
7
8MAPNIKPATCHED=$TMPDIR/mapnik
9# cleanup
10rm -rf $DESTDIR
11rm -rf $TMPDIR
12# copy mapnik to temp
13mkdir -p $MAPNIKPATCHED
14cp -r $MAPNIKSRC/* $MAPNIKPATCHED
15# patch mapnik to have local settings
16cp ./mapnik-patch/datasource-settings.xml.inc.trunk $MAPNIKPATCHED/inc/datasource-settings.xml.inc
17cp ./mapnik-patch/fontset-settings.xml.inc.trunk $MAPNIKPATCHED/inc/fontset-settings.xml.inc
18cp ./mapnik-patch/settings.xml.inc.trunk $MAPNIKPATCHED/inc/settings.xml.inc
19# call converter
20python mapnik_to_bw.py -s $MAPNIKPATCHED -f osm.xml -d $DESTDIR
Note: See TracBrowser for help on using the repository browser.