https://github.com/springmeyer/tilemill-examples
Example TileMill projects demonstrating hacks and other custom effects
https://github.com/springmeyer/tilemill-examples
Last synced: about 1 year ago
JSON representation
Example TileMill projects demonstrating hacks and other custom effects
- Host: GitHub
- URL: https://github.com/springmeyer/tilemill-examples
- Owner: springmeyer
- Created: 2012-10-05T22:51:32.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-11T23:38:37.000Z (almost 13 years ago)
- Last Synced: 2025-04-12T20:02:44.070Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 25.6 MB
- Stars: 114
- Watchers: 10
- Forks: 28
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/springmeyer/tilemill-examples/issues) and I will add some details.
These projects specifically require setup:
1. `dynamic-http` requires running a local python server in order to support data refresh:
```sh
python project/dynamic-http/server.py
```
1. `sql-on-the-fly` requires creating a postgres db and importing a shapefile:
```sh
cd ./sql-on-the-fly
createdb -T template_postgis states
shp2pgsql -g geom -s 4326 ./data/us_states_wgs84.shp states | psql states
```