blob: d07b5b7ec43c5c9361bd6b3f9c39ac9f571615cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
#
# test_tagstats.sh OSMFILE
#
# This is a little helper program to test the function of tagstats.
# Its not supposed to be used in production.
#
set -e
set -x
DATABASE=taginfo-db.db
OSMFILE=$1
rm -f $DATABASE
sqlite3 $DATABASE <../sources/init.sql
sqlite3 $DATABASE <../sources/db/pre.sql
ulimit -c 1000000000
rm -f core
#./tagstats --left=5.5 --bottom=47 --right=15 --top=55 --width=200 --height=320 $OSMFILE $DATABASE
./tagstats --tags test_tags.txt --relation-types test_relation_types.txt $OSMFILE $DATABASE
|