Skip to content

Add distinc symbolizer for capital cities #488

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

wipfli
Copy link
Collaborator

@wipfli wipfli commented May 27, 2025

Fixes #439

The render test in CI will only pass after protomaps/basemaps-assets#12 is merged

@wipfli
Copy link
Collaborator Author

wipfli commented May 27, 2025

The old threshold was actually too high to capture some changes. I think the pixelmatch library gives different weights to pixel differences based on perceived color changes. Since the green and gray tones are all close together, we can use quite a low threshold.

Copy link

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.

Distinct symbolizer for capital cities
2 participants