artemp/tickets2issues — Issue #593: mapnik::query resolution needs both x and y components
Author: artemp
Created: 2011-10-11 15:26:55+00:00
State: open
Labels: Core_Library

At the moment resolution is calculated as ratio :

map_width/box_width

This causes creation of unnecessary large images (gdal.input) in some corner cases e.g pan raster left or right so only a tiny strip is visible and get memory alloc exception.

The solution is to use two components for resolution.