Hi all -
I am trying to set up a pretty vanilla polymaps / nginx / gunicorn / tilestache / postgis setup. It works on both ends (i.e. you can request a tile via polymaps and get a reply from the 'stache) and I can seed tiles (to disk) using tilestache-seed.py from my PostGIS data.
However, when I try to run gunicorn/TileStache, using the exact same config file I used for seeding, it ignores the preseeded tiles and overwrites them with empty json featurelists.
Does that sound familiar? What could be wrong?
tilestache-seed.py and gunicorn run as the same user.
Thank you in advance -
Thomas
Commands:
$ tilestache-seed.py -c borders.cfg -l admin 0 1 2 3 4 5 6 7 8 9 10 -b 57 4 63 13 -e geojson
$ gunicorn -b ...:8000 "TileStache:WSGITileServer('.../borders.cfg')"
Config:
{
"cache": {
"name": "Disk",
"path": "/tmp/stache",
"umask": "0000",
"dirs": "portable",
"gzip": ["xml", "json"]
},
"layers": {
"admin": {
"provider": {"name": "vector", "driver": "PostgreSQL",
"parameters": {"host": "...", "dbname": "kartdata", "user": "...", "port":"2345",
"password": "...", "query": "select st_transform(geometri, 4326) from administrative_borders"}
},
"projection": "WGS84"
}
},
"dirpath": "/opt/maps/test"
}