https://github.com/springmeyer/grid_renderer_example
Ultra simple working example of interactive vector/raster tiles using mapnik's grid_renderer, generate_tiles.py, openlayers, and wax
https://github.com/springmeyer/grid_renderer_example
Last synced: about 1 year ago
JSON representation
Ultra simple working example of interactive vector/raster tiles using mapnik's grid_renderer, generate_tiles.py, openlayers, and wax
- Host: GitHub
- URL: https://github.com/springmeyer/grid_renderer_example
- Owner: springmeyer
- Created: 2011-04-07T14:03:43.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2013-10-28T02:17:47.000Z (over 12 years ago)
- Last Synced: 2025-03-26T14:12:13.592Z (over 1 year ago)
- Language: Python
- Homepage: http://springmeyer.github.com/grid_renderer_example
- Size: 2.68 MB
- Stars: 15
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grid_renderer example
An illustrative sample that shows simple usage of Wax and Mapnik's grid_renderer output.
## Background
The grid_renderer targets the mbtiles spec. Learn more here:
https://github.com/mapbox/mbtiles-spec/
For more about the grid_renderer:
http://trac.mapnik.org/wiki/MapnikRenderers#grid_renderer
## Depends
Mapnik trunk >= r 2957
python >= 2.6 (for built in json module)
## Installation
Install Mapnik from >= r2957. More details about installing the latest mapnik at: http://trac.mapnik.org/wiki/Mapnik2
## Setup
Get a few external dependencies for the demo by running
$ make
## Usage
Then generate some tiles
$ make tiles
Then open the index.html in a web browser and you should be able to hover over polygons and get the country names and population.