- # 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_PoliceJson/lastSuccessfulBuild/artifact/coverage.policeJSON.tgz
- tar zxvf coverage.policeJSON.tgz
- #-----------
- # ~/vtile
- #
- cd vtile
- ls -l
- tippecanoe -l police2_map0 -rg -z16 -Z6 -o police2z.mbtiles ../GML_POLICE/police2z.json
- tippecanoe -l police2_map1 -rg -z16 -Z6 -o police2.mbtiles ../GML_POLICE/police2.json
- tippecanoe -l police4_map0 -rg -z16 -Z6 -o police4z.mbtiles ../GML_POLICE/police4z.json
- tippecanoe -l police4_map1 -rg -z16 -Z6 -o police4.mbtiles ../GML_POLICE/police4.json
- tippecanoe -l police5_map0 -rg -z16 -Z6 -o police5z.mbtiles ../GML_POLICE/police5z.json
- tippecanoe -l police5_map1 -rg -z16 -Z6 -o police5.mbtiles ../GML_POLICE/police5.json
- tippecanoe -l police6_map0 -rg -z16 -Z6 -o police6z.mbtiles ../GML_POLICE/police6z.json
- tippecanoe -l police6_map1 -rg -z16 -Z6 -o police6.mbtiles ../GML_POLICE/police6.json
- git clone git://github.com/mapbox/mbutil.git
- #-----------
- # ~/vtile/mbutil
- #
- cd mbutil
- ./mb-util --image_format=pbf ../police2z.mbtiles tilePolice2z
- ./mb-util --image_format=pbf ../police2.mbtiles tilePolice2
- ./mb-util --image_format=pbf ../police4z.mbtiles tilePolice4z
- ./mb-util --image_format=pbf ../police4.mbtiles tilePolice4
- ./mb-util --image_format=pbf ../police5z.mbtiles tilePolice5z
- ./mb-util --image_format=pbf ../police5.mbtiles tilePolice5
- ./mb-util --image_format=pbf ../police6z.mbtiles tilePolice6z
- ./mb-util --image_format=pbf ../police6.mbtiles tilePolice6
- pwd
- ls -l
- #-----------
- # ~/vtile/mbutil/tilePolice2z
- #
- cd tilePolice2z
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice2z.tgz tilePolice2z
- pwd
- ls -l
- #-----------
- # ~/vtile/mbutil/tilePolice2
- #
- cd tilePolice2
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice2.tgz tilePolice2
- pwd
- #-----------
- # ~/vtile/mbutil/tilePolice4z
- #
- cd tilePolice4z
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice4z.tgz tilePolice4z
- #-----------
- # ~/vtile/mbutil/tilePolice4
- #
- cd tilePolice4
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice4.tgz tilePolice4
- #-----------
- # ~/vtile/mbutil/tilePolice5z
- #
- cd tilePolice5z
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice5z.tgz tilePolice5z
- #-----------
- # ~/vtile/mbutil/tilePolice5
- #
- cd tilePolice5
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice5.tgz tilePolice5
- #-----------
- # ~/vtile/mbutil/tilePolice6z
- #
- cd tilePolice6z
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice6z.tgz tilePolice6z
- #-----------
- # ~/vtile/mbutil/tilePolice6
- #
- cd tilePolice6
- pwd
- ls -l
- gzip -d -v -r -S .pbf *
- find . -type f -exec mv -v '{}' '{}'.pbf \;
- #-----------
- # ~/vtile/mbutil
- #
- cd ..
- pwd
- ls -l
- tar czvf ../../tilePolice6.tgz tilePolice6
- #-----------