Created
October 10, 2013 05:41
-
-
Save mattmakesmaps/6913570 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"osm-processed_p1": { // Layer Name | |
// Sets ACCESS-CONTROL-ALLOW-ORIGIN header to "*" | |
"allowed origin": "*", | |
"provider": { | |
"class": "TileStache.Goodies.VecTiles:Provider", | |
// PostGIS Connection Info | |
"kwargs": { | |
"dbinfo": { | |
"host": "localhost", | |
"user": "matt", | |
"database": "ts_data" | |
}, | |
// An array of queries for each zoom level. | |
// One query == Used for All Zooms | |
"queries": [ | |
"SELECT gid, geom AS __geometry__ FROM osm.land_polygons_split" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment