tilemill-examples
This is a set of TileMill projects that demonstrate various types of advanced functionality and fun hacks in TileMill. The examples are mostly self-contained and should mostly work offline. See the Speakers Notes below for project-specific setup that might be needed in a few places.
Usage
You can either download this directory and point TileMill's documents setting at it.
Or you can use git to set the projects up within an existing documents directory.
Setup in existing project directory
cd ~/Documents/MapBox/project
git init .
git remote add origin https://github.com/springmeyer/tilemill-examples.git
git pull origin master
Speakers notes
Some project directories contain setup scripts (e.g. convert.py
) and other notes (e.g. notes.md
)
If you encounter a project that does not load and is missing a README with setup instructions, then feel free to create an issue and I will add some details.
These projects specifically require setup:
dynamic-http
requires running a local python server in order to support data refresh:
python project/dynamic-http/server.py
sql-on-the-fly
requires creating a postgres db and importing a shapefile:
cd ./sql-on-the-fly
createdb -T template_postgis states
shp2pgsql -g geom -s 4326 ./data/us_states_wgs84.shp states | psql states