diff --git a/src/coverage_BUSSTOP_after.sh b/src/coverage_BUSSTOP_after.sh new file mode 100644 index 0000000..5d1ed79 --- /dev/null +++ b/src/coverage_BUSSTOP_after.sh @@ -0,0 +1,71 @@ + +# make Vector Tile +export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" +export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH" +export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH" +export CXX=g++-5 +#brew install tippecanoe + +rm -rf vtile +mkdir vtile + +curl --user yuu:yuu8844 -O http://localhost:8080/job/osmCoverage_BusstopJson/lastSuccessfulBuild/artifact/busstopJSON.tgz + +tar zxvf busstopJSON.tgz + +cd vtile +ls -l + +tippecanoe -l busstop_map0 -rg -z16 -Z6 -o bus0.mbtiles busstop0.json +tippecanoe -l busstop_map1 -rg -z16 -Z6 -o bus1.mbtiles busstop1.json +tippecanoe -l busstop_map2 -rg -z16 -Z6 -o bus2.mbtiles busstop2.json + +git clone git://github.com/mapbox/mbutil.git +cd mbutil +./mb-util --image_format=pbf ../bus0.mbtiles tileBus0 +./mb-util --image_format=pbf ../bus1.mbtiles tileBus1 +./mb-util --image_format=pbf ../bus2.mbtiles tileBus2 + +#----------- +pwd +ls -l +cd tileBus0 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +cd .. +pwd +ls -l +tar czvf ../../tileBus0.tgz tileBus0 + +#----------- + +pwd +ls -l +cd tileBus1 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +cd .. +pwd +ls -l +tar czvf ../../tileBus1.tgz tileBus1 + +#----------- +pwd +cd tileBus2 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +cd .. +pwd +ls -l +tar czvf ../../tileBus2.tgz tileBus2 + +#----------- diff --git a/src/coverage_FUEL_after.sh b/src/coverage_FUEL_after.sh new file mode 100644 index 0000000..f5508d7 --- /dev/null +++ b/src/coverage_FUEL_after.sh @@ -0,0 +1,70 @@ +# make Vector Tile +export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" +export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH" +export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH" +export CXX=g++-5 +#brew install tippecanoe + +rm -rf vtile +mkdir vtile + +curl --user yuu:yuu8844 -O http://localhost:8080/job/osmCoverage_FuelJson/lastSuccessfulBuild/artifact/fuelJSON.tgz + +tar zxvf fuelJSON.tgz + +cd vtile +ls -l + +tippecanoe -l fuel_map0 -rg -z16 -Z6 -o fuel0.mbtiles fuel0.json +tippecanoe -l fuel_map1 -rg -z16 -Z6 -o fuel1.mbtiles fuel1.json +tippecanoe -l fuel_map2 -rg -z16 -Z6 -o fuel2.mbtiles fuel2.json + +git clone git://github.com/mapbox/mbutil.git +cd mbutil +./mb-util --image_format=pbf ../fuel0.mbtiles tileFuel0 +./mb-util --image_format=pbf ../fuel1.mbtiles tileFuel1 +./mb-util --image_format=pbf ../fuel2.mbtiles tileFuel2 + +#----------- +pwd +ls -l +cd tileFuel0 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +cd .. +pwd +ls -l +tar czvf ../../tileFuel0.tgz tileFuel0 + +#----------- + +pwd +ls -l +cd tileFuel1 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +cd .. +pwd +ls -l +tar czvf ../../tileFuel1.tgz tileFuel1 + +#----------- +pwd +cd tileFuel2 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +cd .. +pwd +ls -l +tar czvf ../../tileFuel2.tgz tileFuel2 + +#----------- diff --git a/src/coverage_POSTOFFICE_after.sh b/src/coverage_POSTOFFICE_after.sh new file mode 100644 index 0000000..fb2bece --- /dev/null +++ b/src/coverage_POSTOFFICE_after.sh @@ -0,0 +1,94 @@ +# make Vector Tile +export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" +export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH" +export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH" +export CXX=g++-5 +#brew install tippecanoe + +rm -rf vtile +mkdir vtile + +curl --user yuu:yuu8844 -O http://localhost:8080/job/osmCoverage_OpstofficeJson/lastSuccessfulBuild/artifact/postofficeJSON.tgz + +tar zxvf postofficeJSON.tgz + + +#----------- +# ~/vtile +# +cd vtile +ls -l + +tippecanoe -l postoffice_map0 -rg -z16 -Z6 -o postoffice0.mbtiles postoffice0.json +tippecanoe -l postoffice_map1 -rg -z16 -Z6 -o postoffice1.mbtiles postoffice1.json +tippecanoe -l postoffice_map2 -rg -z16 -Z6 -o postoffice2.mbtiles postoffice2.json + +git clone git://github.com/mapbox/mbutil.git + + +#----------- +# ~/vtile/mbutil +# +cd mbutil +./mb-util --image_format=pbf ../postoffice0.mbtiles tilePostoffice0 +./mb-util --image_format=pbf ../postoffice1.mbtiles tilePostoffice1 +./mb-util --image_format=pbf ../postoffice2.mbtiles tilePostoffice2 + +pwd +ls -l + +#----------- +# ~/vtile/mbutil/tilePostoffice0 +# +cd tilePostoffice0 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +#----------- +# ~/vtile/mbutil +# +cd .. +pwd +ls -l +tar czvf ../../tilePostoffice0.tgz tilePostoffice0 +pwd +ls -l + +#----------- +# ~/vtile/mbutil/tilePostoffice1 +# +cd tilePostoffice1 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +#----------- +# ~/vtile/mbutil +# +cd .. +pwd +ls -l +tar czvf ../../tilePostoffice1.tgz tilePostoffice1 +pwd + +#----------- +# ~/vtile/mbutil/tilePostoffice2 +# +cd tilePostoffice2 +pwd +ls -l +gzip -d -v -r -S .pbf * +find . -type f -exec mv -v '{}' '{}'.pbf \; + +#----------- +# ~/vtile/mbutil +# +cd .. +pwd +ls -l +tar czvf ../../tilePostoffice2.tgz tilePostoffice2 + +#-----------