Newer
Older
osmCoverage / src / osmCoverage_PoliceGet.sh
yuu on 30 Mar 2019 1 KB 2019-03-30
# dummy
#
# cd /home/yuu/workspace/osmCoverageBin
pwd

rm -rf database
rm -rf GML_POLICE
rm -f *.jar


# git http://surveyor.mydns.jp/gitbucket/git/yuu/osmCoverageBin.git

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

curl --user yuu:yuu8844 -O http://localhost:8080/job/KSJ_GML/lastSuccessfulBuild/artifact/GML_POLICE.tgz
tar xvzf GML_POLICE.tgz

rm -rf database
mkdir database

# make to PostGIS
java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.DbPolice
java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.DbExist
java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.Police
java -cp .:osmCoverage.jar:hayashi.jar:hsqldb_2.2.9.jar:postgresql-9.4.1212.jar osm.jp.coverage.police.ToPostgis


#git add -f GML_FUEL/*.json GML_FUEL/*.csv t_fuel.carto.csv
#git commit -a -m "coverage fuel update $(date +%Y-%m-%d_%H:%M)"
#git push origin HEAD:master