mapnik-org/mapnik — Issue #814: Allow datasources to be queried without supplying an extent or coordinate point
Author: artemp
Created: 2011-10-11 08:13:06+00:00
State: open
Labels: Core_Library

Currently datasource plugins offer `features` and `features_at_point` as query methods for features.

We should add the ability to get all features without having to set (and know ahead of time) the maximum extent of the geometries - so basically without having to form up a mapnik::query with a bbox.

This would allow this hack to be removed: http://trac.mapnik.org/browser/trunk/bindings/python/mapnik/__init__.py#L239

This may prompt a rename of `features` to `features_by_bbox`. As a side note, `features_at_point` needs a tolerance, but that is covered by #503.