An open API service indexing awesome lists of open source software.

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

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
```