### dummy pwd curl --user yuu:yuu8844 -O http://surveyor.mydns.jp/gitbucket/yuu/osmCoverage/raw/master/lib/hsqldb_2.2.9.jar curl --user yuu:yuu8844 -O http://surveyor.mydns.jp/gitbucket/yuu/osmCoverage/raw/master/lib/postgresql-9.4.1212.jar curl --user yuu:yuu8844 -O http://localhost:8080/job/hayashiLib/lastSuccessfulBuild/artifact/dist/hayashi.jar curl --user yuu:yuu8844 -O http://localhost:8080/job/osmCoverage/lastSuccessfulBuild/artifact/osmCoverage.jar mkdir -p GML_POLICE java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.ToGeoJSON ls -l rm -rf vtile mkdir -m +w vtile cp ./GML_POLICE/police?.json vtile tar czvf policeJSON.tgz vtile/*.json ### export from PostGIS #java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.ToGeoJSON -slim java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.ToGeoJSON # output file "coverage.police2.csv" and "coverage.police2.json" java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.Coverage2 # output file "coverage.police4.csv" and "coverage.police4.json" java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.Coverage4 # output file "coverage.police5.csv" and "coverage.police5.json" java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.Coverage5 # output file "coverage.police6.csv" and "coverage.police6.json" java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.Coverage6 ls -l tar czvf coverage.policeJSON.tgz GML_POLICE/*.json GML_POLICE/*.csv git config --global user.name "hayashi" git config --global user.email hayashi.yuu@gmail.com git add *.json git add GML_POLICE/*.json git commit --allow-empty -m "coverage police update $(date +%Y-%m-%d_%H:%M)" git remote -v #git push gitbucket HEAD:master