Skip to content

Instantly share code, notes, and snippets.

@brunob
Created April 23, 2012 15:17
Show Gist options
  • Save brunob/2471555 to your computer and use it in GitHub Desktop.
Save brunob/2471555 to your computer and use it in GitHub Desktop.
tilestache config file
{
"cache":
{
"name": "Disk",
"path": "/tmp/stache",
"umask": "0000"
},
"layers":
{
"osm":
{
"provider": {"name": "proxy", "provider": "OPENSTREETMAP"},
"png options": {"palette": "http://tilestache.org/example-palette-openstreetmap-mapnik.act"}
},
"example":
{
"provider": {"name": "mapnik", "mapfile": "examples/style.xml"},
"projection": "spherical mercator"
},
"acetate":
{
"provider": {"name": "proxy", "url": "http://acetate.geoiq.com/tiles/acetate-hillshading/{Z}/{X}/{Y}.png"},
"preview": {"lat": 48, "lon": -4, "zoom": 7, "ext": "png"}
},
"roads":
{
"provider": {"name": "proxy", "url": "http://tile.openstreetmap.org/{Z}/{X}/{Y}.png"}
},
"geodiv":
{
"provider": {"name": "vector", "driver": "GeoJSON", "parameters": {"file": "geodiv.json"}, "spacing": "8"},
"preview": {"lat": "48", "lon": "-4", "zoom": "7", "ext": "geojson"},
"projection": "spherical mercator",
"allowed origin": "*"
},
"taxinomes":
{
"provider": {"name": "vector", "driver": "GeoJSON", "parameters": {"file": "taxinomes.json"}, "spacing": "16"},
"preview": {"lat": "48", "lon": "-4", "zoom": "7", "ext": "geojson"},
"projection": "spherical mercator",
"allowed origin": "*"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment