# 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" export CXX=g++-5 #brew install tippecanoe #----------- # ~/vtile # 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 #----------- # ~/vtile/mbutil # 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 #----------- # ~/vtile/mbutil/tileFuel0 # cd tileFuel0 pwd ls -l gzip -d -v -r -S .pbf * find . -type f -exec mv -v '{}' '{}'.pbf \; #----------- # ~/vtile/mbutil # cd .. pwd ls -l tar czvf ../../tileFuel0.tgz tileFuel0 pwd ls -l #----------- # ~/vtile/mbutil/tileFuel1 # cd tileFuel1 pwd ls -l gzip -d -v -r -S .pbf * find . -type f -exec mv -v '{}' '{}'.pbf \; #----------- # ~/vtile/mbutil # cd .. pwd ls -l tar czvf ../../tileFuel1.tgz tileFuel1 pwd #----------- # ~/vtile/mbutil/tileFuel2 # cd tileFuel2 pwd ls -l gzip -d -v -r -S .pbf * find . -type f -exec mv -v '{}' '{}'.pbf \; #----------- # ~/vtile/mbutil # cd .. pwd ls -l tar czvf ../../tileFuel2.tgz tileFuel2 #-----------