Tippecanoe is an open source command line tool for creating Mapbox Vector Tiles. It runs only on unix environments like MacOS and Linux - so if you need to make maps with large vector data from geojson, shapefiles, or similar - you're hosed if you're on Windows.
- Create vector tiles of massive vector data on a Windows 10 machine
- Windows 10 personal, pro, or server OS
- Admin rights on the machine you're installing on
- Install Ubuntu 14.04+ or more recent
- Install the Ubuntu Linux Bash shell from the Microsoft Store. Follow the tutorial here.
- Make sure to setup your UNIX username and password to something that you'll remember. Store it in your password manager!
- Open the Ubuntu Bash terminal on your Windows machine once everything is installed.
- Change directory to your
C:/
drive in your Ubuntu shell -cd ../../mnt/c
. This should put you in the directory/mnt/c
on your Windows C:/ drive. - Install
git
to download the latest Tippecanoesudo apt-get install software-properties-common
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
sudo apt-get install unzip
sudo apt-get install wget
- (if for some reason you have issues with git, you can download the Tippecanoe code to use in the next step directly for version 1.34.0 using
wget https://github.com/mapbox/tippecanoe/archive/1.34.0.zip && unzip 1.34.0.zip
- Install Tippecanoe
- Prereqs
sudo apt-get install build-essential libsqlite3-dev zlib1g-dev
-
sudo apt-get update -y sudo apt-get install -y g++-5 export CXX=g++-5```
git clone https://github.com/mapbox/tippecanoe.git
cd tippecanoe
make
sudo make install
- Prereqs
- Check your install was successful
- Now Tippecanoe is installed, and you can run it from your Ubuntu bash terminal on any files you have on your Windows machine.
Thanks! works perfect for me! Only gcc-5 is not supported anymore. I did with gcc-9