kartograph/kartograph.py

Chosen polygon doesn't render with bounds, mode=polygons

Opened this issue · 0 comments

I am using the polygons mode to set the bounds of my map. It works perfectly fine, except that the actual polygon chosen doesn't render. All the polygons around it show up fine, but in the middle, there is just a hole!
I get no errors during rendering. Any ideas?

Kartograph.py version: 0.6.8

test

config = {
    "layers": [{
        "id"  : "districts",
        "src" : "valgeografi_valdistrikt.shp",
        "attributes": {
            "id"   : "VD"
        }
    }],

    "bounds": {
        "mode": "polygons",
        "data": {
            "layer": "districts",
            "filter": ["VD", "is", id]
        }
    }
}