From a1d5747cfd8144da30b42054a6587377736a6ed3 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Mon, 7 Oct 2013 18:36:15 +0200 Subject: Make min_tag_combination_count configurable at runtime --- sources/db/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sources') diff --git a/sources/db/update.sh b/sources/db/update.sh index 1f00088..71abd9d 100755 --- a/sources/db/update.sh +++ b/sources/db/update.sh @@ -43,6 +43,7 @@ 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` +min_tag_combination_count=`../../bin/taginfo-config.rb sources.master.min_tag_combination_count 1000` TAGSTATS=`../../bin/taginfo-config.rb sources.db.tagstats` if [ "x" = "x$TAGSTATS" ]; then @@ -50,7 +51,7 @@ if [ "x" = "x$TAGSTATS" ]; then fi #TAGSTATS="valgrind --leak-check=full --show-reachable=yes $TAGSTATS" -$TAGSTATS --tags $DIR/interesting_tags.lst --relation-types $DIR/interesting_relation_types.lst --left=$left --bottom=$bottom --top=$top --right=$right --width=$width --height=$height $PLANETFILE $DATABASE +$TAGSTATS --tags $DIR/interesting_tags.lst --min-tag-combination-count=$min_tag_combination_count --relation-types $DIR/interesting_relation_types.lst --left=$left --bottom=$bottom --top=$top --right=$right --width=$width --height=$height $PLANETFILE $DATABASE echo "`$DATECMD` Running update_characters... " ./update_characters.rb $DIR -- cgit v1.2.3