- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 61
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
don't require man_made=bridge outlines have area=yes [#180] #182
Conversation
Kudos, SonarCloud Quality Gate passed! |
Looks good to me |
@@ -21,14 +21,14 @@ public void processFeature(SourceFeature sf, FeatureCollector features) { | |||
sf.hasTag("landuse", "recreation_ground", "industrial", "brownfield", "railway", "cemetery", "commercial", | |||
"grass", "orchard", "farmland", "farmyard", "residential", "military") || | |||
sf.hasTag("leisure", "park", "garden", "golf_course", "dog_park", "playground", "pitch", "nature_reserve") || | |||
sf.hasTag("man_made", "pier") || | |||
sf.hasTag("man_made", "pier") || sf.hasTag("man_made", "bridge") || |
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.
Nit, since these are both the same tag key, rewrite asa list of values, like:
sf.hasTag("man_made", "pier", "bridge") ||
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.
Agree that in the case of bridge
it's assumed to be a polygon per the wiki and in practice.
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.
Does this need a style change, too? Something like id: "landuse_pedestrian",
either duplicating that style layer or adding bridge
to it's the filter?
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.
Can you include a before/after screenshot showing the data change in the style?
(I think that style layer filter needs a logic change...)
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.
Will provide visual test link when the 3.0.1 build completes tomorrow... think the style with pmap:kind=pedestrian
is good enough
* make landuse filters more concise
|
@nvkelso visual test output comparing tileset builds: ![]() |
Great bug fix! |
See #180
Refer to https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dbridge :
@wipfli @nvkelso