-
-
Notifications
You must be signed in to change notification settings - Fork 84
Migrate POI minZoom assigment from plain Java to MultiExpression rules #539
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
Merged
wipfli
merged 33 commits into
protomaps:main
from
migurski:migurski/migrate-poi-zooms-to-rules
Jan 12, 2026
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7e70005
Added base case POI zoom in new MultiExpression
migurski 3a62861
Moved initial zoom assignments to MultiExpression, seeing one unexpla…
migurski 03316e2
Moved a bunch of high-zoom point logic to MultiExpression
migurski 8821873
Created Matcher.SourceFeatureWithComputedTags() to allow mutation of …
migurski f7a4928
Fixed Matcher.SourceFeatureWithComputedTags() to require fewer signat…
migurski 5c529a5
Moved SourceFeatureWithComputedTags construction into computeExtraTags
migurski 5711a0e
Moved selected small-area polygons into rules
migurski 8fa32b3
Moved some protomaps-basemaps: tags to private static strings
migurski 8200a7c
Removed HashMap
migurski 379cb91
Moved all college/university zooms to rules with new withinRange expr…
migurski d03004f
Fixed zoom rule ordering failure
migurski 1ff3316
Moved assorted green and other zoom-based polygons to rules
migurski f2dbdf4
Moved schools, cemeteries, and national parks to zoom-graded rules
migurski cca5a64
Corrected withinRange() bounds logic and moved height adjustments to …
migurski 4431fb3
Reorganized final adjustments for clarity
migurski 1febd2e
Shorthanded a bunch of zoom rules
migurski 1a59b25
Switched to overloaded withinRange() to allow for scientific notation…
migurski 665645a
Moved last top-level tag checks in processOsm() to rules
migurski 5dcb548
De-duped some final logic to clarify identical point/polygon POI beha…
migurski 3a569b6
Renamed and organized zoom rules for legibility
migurski 2525a5c
Tweak, tweak, tweak
migurski 1982412
More tweak, tweak, tweak
migurski f0ea92a
Carved zoomsIndex into point-and-polygon-specific MultiExpressions
migurski 479a5e4
Fixed overly-broad point matches on irrelevant tags
migurski 415e587
Switched to constants for KIND and MINZOOM strings
migurski d619032
Cleanup
migurski 2dfde30
Condensed some long booleans
migurski ed0399e
Uppercased more constants
migurski da5e34f
Bumped version number
migurski a349c4b
Applied automated code quality suggestions
migurski 5f9a59f
Applied additional code quality suggestions
migurski 85d6977
Committed trailing space removal in comment blocks due to .editorconf…
migurski 792ec92
Replaced single-bound version of withinRange() by atLeast()
migurski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this in #541