shape feature id is wrong at `feature_factory::create` time #1020

Closed
springmeyer opened this Issue Jan 11, 2012 · 0 comments

2 participants

@springmeyer
Mapnik member

the shape_.id_ is not predictably correct (if you test against ogr.input) and not always globally unique if parsed at feature creation time. But it is correct by the time the dbf attribute parsing starts. I saw this by chance, and fixed it by setting twice (#1019). We should investigate more fully and try to avoid having to set it after the feature is created.

This was referenced Jan 11, 2012
@artemp artemp self-assigned this Oct 20, 2015
@artemp artemp modified the milestone: Mapnik 3.0.8, Mapnik 3.0.0 Oct 20, 2015
@artemp artemp closed this Oct 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment