We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulling from a table with a few MultiPolygon geometries, no features seem to be detected no matter the zoom level or x y positions.
print "pre-filter features: %i projection: %s" % (layer.GetFeatureCount(), projection,) # # Spatially filter the layer # bbox = _tile_perimeter_geom(coord, projection, clipped == 'padded') bbox.TransformTo(layer_sref) layer.SetSpatialFilter(bbox) print "post-filter features: %i" % (layer.GetFeatureCount(),)
which shows 2245 features before filtering, and 0 after.
Configuration: https://gist.github.com/2650080 PostGIS table is using the 900913 SRID with the definition provided here: http://tilestache.org/doc/TileStache.Vector.html
Turns out that layer.SetSpatialFilter(bbox) is filtering out everything, because the problem disappears when I comment it out.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Pulling from a table with a few MultiPolygon geometries, no features seem to be detected no matter the zoom level or x y positions.
which shows 2245 features before filtering, and 0 after.
Configuration: https://gist.github.com/2650080
PostGIS table is using the 900913 SRID with the definition provided here: http://tilestache.org/doc/TileStache.Vector.html
Turns out that
layer.SetSpatialFilter(bbox)
is filtering out everything, because the problem disappears when I comment it out.
The text was updated successfully, but these errors were encountered: