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

wip multiexpression #109

Closed
wants to merge 6 commits into from
Closed

wip multiexpression #109

wants to merge 6 commits into from

Conversation

bdon
Copy link
Member

@bdon bdon commented Aug 25, 2023

@nvkelso this is a WIP on a refactor of landuse into an expression

"State Game Land", "State Park", "Watershed Recreation Unit", "Wild Forest", "Wilderness Area",
"Wilderness Study Area", "Wildlife Management", "Wildlife Management Area", "Wildlife Sanctuary");

// public static Stream<MultiExpression.Entry<String>> US_LANDUSE_KIND = compose(
Copy link
Member Author

Choose a reason for hiding this comment

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

not implemented yet...

Stream.of(entry("pedestrian", matchAny("man_made", "bridge"))),
valueEntries("man_made", "pier"),
valueEntries("natural", "beach"),
valueEntries("shop", "grocery", "supermarket"), // not in tilezen?
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nvkelso to research

// assertKind("airfield", Map.of("military", "airfield"));
assertKind("golf_course", Map.of("leisure", "golf_course"));
// assertKind("marina", Map.of("leisure", "marina"));
assertKind("park", Map.of("leisure", "park"));
Copy link
Collaborator

Choose a reason for hiding this comment

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

To test the order of operations, there should at least be one test that includes other tags than just the expected minimum tags... eg add a boundary key-value in.

@bdon bdon force-pushed the landuse-multiexpression branch from b5e7f89 to 2273738 Compare September 2, 2023 07:36
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 11 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@protomaps protomaps deleted a comment from github-actions bot Sep 19, 2023
@bdon bdon mentioned this pull request Oct 31, 2023
@bdon bdon force-pushed the landuse-multiexpression branch 2 times, most recently from 25f9922 to cb340e8 Compare November 13, 2023 09:00
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 11 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@bdon bdon force-pushed the landuse-multiexpression branch from cb340e8 to 5265fda Compare January 3, 2024 09:06
@bdon
Copy link
Member Author

bdon commented Jan 3, 2024

  • should fix area:aeroway bug with missing kind
  • fix amenity=post_office, amenity=townhall

Copy link

sonarqubecloud bot commented Jan 3, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@bdon bdon closed this Aug 1, 2024
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