artemp/mapnik — Issue #814: inf loop in polygon shapefile of uganda
Author: artemp
Created: 2011-10-11 16:37:37+00:00
State: open
Labels: Core_Library

Test case with an xml and shapefile can be download from:

http://dbsgeo.com/tmp/infinite_loop_shape.zip

Works fine if indexed. Also works fine at full zoom (`map.zoom_all()`).

But at an intermediate zoom and unindexed an inf loop is triggered at http://trac.mapnik.org/browser/trunk/plugins/input/shape/shape_featureset.cpp#L130

To replicate render with nik2img.py like:

{{{
#!sh
nik2img.py t.xml t.png --bbox-factor .5
}}}

Which uses a bbox like: `-53316.1596515,36309.7602495,894325.699974,668071.0`

[[Image(http://f.cl.ly/items/2E291t1i1u2U3q3D3702/Screen%20shot%202011-08-10%20at%203.11.27%20PM.png)]]