Skip to content

Loose failure check for cases when duplicate keys are mapping to different feature tags#62

Merged
zmiao merged 10 commits intomasterfrom
zmiao-duplicate-feature-keys
Mar 10, 2023
Merged

Loose failure check for cases when duplicate keys are mapping to different feature tags#62
zmiao merged 10 commits intomasterfrom
zmiao-duplicate-feature-keys

Conversation

@zmiao
Copy link
Copy Markdown
Contributor

@zmiao zmiao commented Feb 20, 2023

Do not fail for cases when there are multiple tag ids mapping to the same feature key in one layer, instead issue a warning message if the message function is enabled.

Comment thread include/mapbox/vector_tile.hpp Outdated
Copy link
Copy Markdown

@pozdnyakov pozdnyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good overall, could you add a unit test?

Comment thread include/mapbox/vector_tile.hpp Outdated
Comment thread include/mapbox/vector_tile.hpp Outdated
Comment thread include/mapbox/vector_tile.hpp
@zmiao zmiao force-pushed the zmiao-duplicate-feature-keys branch 7 times, most recently from 6f886c0 to f385d9f Compare March 7, 2023 20:43
@zmiao zmiao force-pushed the zmiao-duplicate-feature-keys branch from f385d9f to 0b027b2 Compare March 7, 2023 20:44
@zmiao
Copy link
Copy Markdown
Contributor Author

zmiao commented Mar 7, 2023

Somehow the rebase history gets messed up, so I just add the commits one by one, I will squash merge this PR.

Comment thread include/mapbox/vector_tile.hpp Outdated
@zmiao zmiao merged commit e1e1bb6 into master Mar 10, 2023
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

Successfully merging this pull request may close these issues.

3 participants