Newer
Older
osmCoverageBin / coverage_FUEL.sh
@yuuhayashi yuuhayashi on 22 Apr 2022 1 KB 2022-04-22
cd /home/yuu/Desktop/workspace/osmCoverageBin
git checkout master

curl --user yuu:yuu8844 -O http://192.168.0.26:8080/job/osmCoverage/lastSuccessfulBuild/artifact/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
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.Fuel
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.ToPostgis
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.ToGeoJSON
mv fuel?.json vtile
java -cp .:osmCoverage.jar:hayashi_0225.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.fuel.ToGeoJSON -slim
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
mv coverage.fuel.json GML_FUEL
mv coverage.fuel.csv GML_FUEL
mv fuel?.json GML_FUEL
mv fuel.json GML_FUEL
git add *
git commit -a -m "coverage fuel update $(date +%Y-%m-%d_%H:%M)"
git push gitbucket master