我已经成功安装了tilestache。我还使用here中的shapefile成功添加了一个图层。但是当我尝试使用my own shapefile时,服务器总是返回空的featurecollection。我尝试在查询中添加ST_Transform()
但仍返回空功能。
我的配置文件:
{
"cache":
{
"name": "Test",
"path": "/tmp/stache",
"umask": "0000"
},
"layers":
{
"osm-processed_p1": {
"allowed origin": "*",
"provider": {
"class": "TileStache.Goodies.VecTiles:Provider",
"kwargs": {
"dbinfo": {
"host": "127.0.0.1",
"user": "postgres",
"database": "ts_data"
},
"queries": [
"SELECT gid, geom AS __geometry__ FROM osm.kalimantan"
]
}
}
}
}
}
我该如何解决这个问题?