Newer
Older
osmCoverage / src / coverage_FUEL_update.sh
cp ../osmCoverage/dist/osmCoverage.jar .
rm -r database
mkdir database
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.DbFuel -update
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.DbExist
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.OsmExist
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.Fuel
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.ToPostgis -update
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.ToCartoCSV
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.Coverage coverage.fuel.csv
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.Coverage coverage.fuel.json
git commit -a -m "coverage fuel update $(date +%Y-%m-%d_%H:%M)"
cp coverage.fuel.json ../www-root/coverage
cd ../www-root
git add .
git commit -a -m "coverage fuel update $(date +%Y-%m-%d_%H:%M)"

# java -cp hsqldb_2.2.9.jar org.hsqldb.util.DatabaseManager
#   db_driver=org.hsqldb.jdbcDriver
#   db_url=jdbc:hsqldb:file:./database/db
#   db_user=sa
#   db_passwd=
#