artemp/mapnik — Issue #69: Manually set extents on layers
Author: artemp
Created: 2011-10-11 15:55:12+00:00
State: closed
Labels: Core_Library

Add an option to manually set the extent on a layer instead of requiring the datasource to find it.

For example: postgis inputs have a very unreliable estimate_extent option -- if you have to turn this off then postgis does a table scan to discover the extent, which can be very inefficient, especially if you know the datasource entirely covers the area you are rendering. It would be better to specify the extent manually in this case.