I have a query based vector layer in my TileStache configuration, and it's hitting this block of code
if layer.GetSpatialRef() is None and driver_name != 'SQLite': raise KnownUnknown('Couldn\'t get a layer from data source %s' % source_name)```
and failing, because the GetSpatialRef() is returning None. Is there a parameter that I am missing in my configuration? I've tried giving it projected=True and projected=False, with no change in results.
TileStache 1.49.10 on Ubuntu 14.04 with Mapnik 2.3 (not that Mapnik is even used for the vector provider) and PostGIS 2.1 (upgrading from postGIS 1.5.x).