source: subversion/applications/rendering/parking/joinways/test.sh @ 28396

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

small changes to run joinways in a cronjob

File size: 1.4 KB
Line 
1#! /bin/bash
2
3# Würzburg komplett bis IKEA
4#BBOX=9.911,49.774,9.9929,49.8282
5#BBOX=9.9315,49.78324,9.97245,49.81036
6# ganz Deutschland:
7#BBOX=3.46,46.92,15.87,55.69
8# 22° Streifen
9BBOX=-180,-89.9,180,89.9
10
11JOINWAYS=/home/osm/workspace/parking/joinways/joinways.py
12python $JOINWAYS --dsn 'dbname=gis'
13#python $JOINWAYS --bbox $BBOX --dsn 'dbname=gis'
14
15# now, render a sample image
16
17exit 0
18blablubb
19
20# style directory
21STYLES=/home/osm/styles-deploy
22# image target directory
23IMAGES=/home/osm/wuerzburg-render-film
24
25# Mozart
26# BBOX=9.944475,49.796291,9.948402,49.799359
27
28# Würzburg komplett bis IKEA
29#BBOX=9.911,49.774,9.9929,49.8282
30BBOX=9.9315,49.78324,9.97245,49.81036
31
32# Size = Full HD
33SIZE=1920x1080
34
35# Timestamp
36NOW=`date +%FT%H-%M-%S`
37
38# Render command
39RENDER=/home/osm/bin/render
40
41#$RENDER --bbox $BBOX --size $SIZE --style $STYLES/bw-mapnik/osm-bw.xml --file $IMAGES/map-bw-$NOW
42#$RENDER --bbox $BBOX --size $SIZE --style $STYLES/bw-noicons/osm-bw-noicons.xml --file $IMAGES/map-bw-noicons-$NOW
43#$RENDER --bbox $BBOX --size $SIZE --style $STYLES/parktrans/osm-parktrans.xml --file $IMAGES/map-parktrans-$NOW
44$RENDER --bbox $BBOX --size $SIZE --style $STYLES/parking/osm-parking.xml --file $IMAGES/map-parking-$NOW
45$RENDER --bbox $BBOX --size $SIZE --style $STYLES/wifi/osm-wifi.xml --file $IMAGES/map-wifi-$NOW
46$RENDER --bbox $BBOX --size $SIZE --style $STYLES/approach/osm-approach.xml --file $IMAGES/map-approach-$NOW
Note: See TracBrowser for help on using the repository browser.