# 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/policeJSON.tgz tar zxvf policeJSON.tgz #----------- # ~/vtile # cd vtile ls -l tippecanoe -l police_map0 -rg -z16 -Z6 -o police0.mbtiles police0.json tippecanoe -l police_map1 -rg -z16 -Z6 -o police1.mbtiles police1.json tippecanoe -l police_map2 -rg -z16 -Z6 -o police2.mbtiles policw2.json git clone git://github.com/mapbox/mbutil.git #----------- # ~/vtile/mbutil # cd mbutil ./mb-util --image_format=pbf ../police0.mbtiles tilePolice0 ./mb-util --image_format=pbf ../police1.mbtiles tilePolice1 ./mb-util --image_format=pbf ../police2.mbtiles tilePolice2 pwd ls -l #----------- # ~/vtile/mbutil/tilePolice0 # cd tilePolice0 pwd ls -l gzip -d -v -r -S .pbf * find . -type f -exec mv -v '{}' '{}'.pbf \; #----------- # ~/vtile/mbutil # cd .. pwd ls -l tar czvf ../../tilePolice0.tgz tilePolice0 pwd ls -l #----------- # ~/vtile/mbutil/tilePolice1 # cd tilePolice1 pwd ls -l gzip -d -v -r -S .pbf * find . -type f -exec mv -v '{}' '{}'.pbf \; #----------- # ~/vtile/mbutil # cd .. pwd ls -l tar czvf ../../tilePolice1.tgz tilePolice1 pwd #----------- # ~/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 #-----------