diff options
author | Jochen Topf <jochen@topf.org> | 2011-12-11 20:37:10 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2011-12-11 20:37:10 +0100 |
commit | f3789beb8ceac12f013ab90f15cd5004a7d57bc9 (patch) | |
tree | f987970302945ed113d30ee5a4eb1745aafe5c63 /sources | |
parent | 359ea6d495a4439d8fd6fe5dd0ce0619a0a37445 (diff) | |
download | taginfo-f3789beb8ceac12f013ab90f15cd5004a7d57bc9.tar taginfo-f3789beb8ceac12f013ab90f15cd5004a7d57bc9.tar.gz |
Create and read interesting_tags.lst
Diffstat (limited to 'sources')
-rwxr-xr-x | sources/db/update.sh | 2 | ||||
-rw-r--r-- | sources/master/interesting_tags.sql | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/db/update.sh b/sources/db/update.sh index 20f13be..5c9a0c6 100755 --- a/sources/db/update.sh +++ b/sources/db/update.sh @@ -46,7 +46,7 @@ width=`../../bin/taginfo-config.rb geodistribution.width` height=`../../bin/taginfo-config.rb geodistribution.height` #valgrind --leak-check=full --show-reachable=yes ./tagstats $PLANETFILE $DATABASE >valgrind.log 2>&1 -./tagstats --left=$left --bottom=$bottom --top=$top --right=$right --width=$width --height=$height $PLANETFILE $DATABASE +./tagstats -T $DIR/interesting_tags.lst --left=$left --bottom=$bottom --top=$top --right=$right --width=$width --height=$height $PLANETFILE $DATABASE echo "`$DATECMD` Running update_characters... " ./update_characters.pl $DIR diff --git a/sources/master/interesting_tags.sql b/sources/master/interesting_tags.sql index 862a39f..ee87402 100644 --- a/sources/master/interesting_tags.sql +++ b/sources/master/interesting_tags.sql @@ -33,7 +33,7 @@ DELETE FROM interesting_tags WHERE value IS NOT NULL AND key LIKE 'fresno_%'; ANALYZE interesting_tags; -.output __DIR__/interesting_tags.lst +.output __DIR__/db/interesting_tags.lst SELECT key FROM interesting_tags WHERE value IS NULL ORDER BY key; SELECT key || '=' || value FROM interesting_tags WHERE value IS NOT NULL ORDER BY key, value; |