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

add island names [#294] #424

Merged
merged 6 commits into from
Mar 21, 2025
Merged

add island names [#294] #424

merged 6 commits into from
Mar 21, 2025

Conversation

bdon
Copy link
Member

@bdon bdon commented Mar 15, 2025

No description provided.

@bdon bdon mentioned this pull request Mar 15, 2025
var feat = features.innermostPoint(LAYER_NAME)
.setId(FeatureId.create(sf))
.setAttr("kind", "island")
.setMinPixelSize(10)
Copy link
Collaborator

Choose a reason for hiding this comment

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

It is actually a good idea to use a min pixel size in pixels. In the water layer we compute water body names based on zoom, but I think the logic should be the same as here, i.e., just a constant pixel value...

@wipfli
Copy link
Collaborator

wipfli commented Mar 19, 2025

Tuned the parameters a little, now it looks like this:

image

@bdon bdon merged commit 16bd76f into main Mar 21, 2025
5 checks passed
@bdon bdon deleted the island-names branch March 21, 2025 05:17
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.

2 participants