diff options
author | Jochen Topf <jochen@topf.org> | 2011-10-12 19:47:43 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2011-10-12 19:47:43 +0200 |
commit | c4fe6f764a8ed74c4500993b5b62853c4bcdec4e (patch) | |
tree | b0c98239f8c3d991e6c5f1a7eea2f092b0801844 /sources/db | |
parent | 37cdf05ea821f39f69ca023e9a4c02680bb772e4 (diff) | |
download | taginfo-c4fe6f764a8ed74c4500993b5b62853c4bcdec4e.tar taginfo-c4fe6f764a8ed74c4500993b5b62853c4bcdec4e.tar.gz |
Add config for distribution images.
New config options for the geographic distribution images.
Diffstat (limited to 'sources/db')
-rwxr-xr-x | sources/db/update.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sources/db/update.sh b/sources/db/update.sh index 19d3518..4d10894 100755 --- a/sources/db/update.sh +++ b/sources/db/update.sh @@ -38,10 +38,18 @@ echo "`$DATECMD` Running pre.sql..." sqlite3 $DATABASE <pre.sql echo "`$DATECMD` Running count... " + +top=`../../bin/taginfo-config.rb geodistribution.top` +right=`../../bin/taginfo-config.rb geodistribution.right` +bottom=`../../bin/taginfo-config.rb geodistribution.bottom` +left=`../../bin/taginfo-config.rb geodistribution.left` +width=`../../bin/taginfo-config.rb geodistribution.width` +height=`../../bin/taginfo-config.rb geodistribution.height` + HERE=`pwd` cd $DIR #valgrind --leak-check=full --show-reachable=yes $HERE/tagstats $PLANETFILE >valgrind.log 2>&1 -$HERE/tagstats $PLANETFILE +$HERE/tagstats --left=$left --bottom=$bottom --top=$top --right=$right --width=$width --height=$height $PLANETFILE cd $HERE echo "`$DATECMD` Running update_characters... " |