Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rotsee opened this issue May 16, 2014 · 0 comments
Open

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

rotsee opened this issue May 16, 2014 · 0 comments

Comments

@rotsee
Copy link

rotsee commented May 16, 2014

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]
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant