Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Can't create Feature with 'id' in attributes #767

Open
artemp opened this Issue · 0 comments

2 participants

@artemp
Owner

When using an in-memory datasource, a Feature should be able to have whatever attributes we want to pass it.

However, since it has a required 'id' argument and the attributes are passed as **kwargs to the constructor, it's impossible to have an 'id' attribute.

{{{
TypeError: init() got multiple values for keyword argument 'id'
}}}

Encountered at https://github.com/thjc/mapnik-svg/blob/master/bindings/python/mapnik/printing.py#L957 , though I'm pretty sure the same issue exists with the svn trunk.

@springmeyer springmeyer was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.