Skip to content

Instantly share code, notes, and snippets.

@bengolder
Created July 1, 2011 09:46
Show Gist options
  • Save bengolder/1058187 to your computer and use it in GitHub Desktop.
Save bengolder/1058187 to your computer and use it in GitHub Desktop.
TileStache Config Example
{
"cache": {
"name": "Disk",
"path": "/tmp/stache",
"umask": "0000",
"dirs": "portable"
},
"layers": {
"lots": {
"provider": {
"name": "vector",
"driver": "postgis",
"parameters": {"dbname":"sf_parcels", "user":"benjamin",
"query": "SELECT gid, the_geom, block_num, street, st_type FROM sf_parcels WHERE the_geom && !bbox!"}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment