Conversation
Also added field for `maxwidth`
Co-authored-by: Martin Raifer <martin@raifer.tech>
* Remove `barrier=planter` preset * Add `planter_barrier` field which adds `barrier=planter` * Add `man_made=planter` preset with `planter_barrier` field
Because of this, I decided to change the preset to use |
That sounds like a good approach 👍 But could you please rename the field to |
This allows to show the "access" field if a man_made=planter vertex has also the barrier=planter tag.
I just noticed that, unfortunately, this approach doesn't allow us to show the |
9d3204d to
49f529e
Compare
|
Good thinking, looks good to me |
| "entrance" | ||
| ], | ||
| "tags": { | ||
| "barrier": "wicket_gate" |
There was a problem hiding this comment.
Does this tag refer to the way the gate is constructed (small), its purpose (pedestrian access), or its location (secondary), or some combination? I’m finding the preset difficult to translate due to this ambiguity.
There was a problem hiding this comment.
As far as I understand, the term refers only to a secondary gate for pedestrians near (or in1) a larger gate.
Footnotes
-
I would say that in OSM the
barrier=wicket_gateprobably only applies to the situation where the wicket is actually a separate entrance (as in this example), and not for wicket doors which are built directly into a large gate (example). The latter should probably be modeled as an attribute of the main gate (e.g.barrier=gate+wicket=yes), I assume. ↩
Perhaps it is better to rename it to something obvious like "Barrier (Fallen Tree)" rather than hide it from the search? As someone who surveys a lot of forests, this is a common item to add on paths. |
This PR adds presets for the following barriers listed on the wiki:
barrier=bump_gatebarrier=bus_trapbarrier=cable_barrierbarrier=full-height_turnstilebarrier=hampshire_gatebarrier=jersey_barrierbarrier=motorcycle_barrierbarrier=planterbarrier=ropebarrier=wicket_gateI used the default barrier icon for most of these, but ideally those should get their own icons. For example,


barrier=jersey_barriercould have an icon similar to this image depicting the general outline:The preset for
full-height_turnstilecould have an icon similar to the one used in OSM carto:Since the wiki article for
barrier=bus_traprecommends also usingmaxwidth, I created a field for it using the same field type used formaxheightsince their values are similar.I also added
barrier=ditch,barrier=handrail, andbarrier=logas unsearchable presets. Forbarrier=ditch,waterway=ditchhas a lot more uses and having making both of these searchable might be confusing for some users. The wiki article forbarrier=handrailmentions that there's an "Unclear difference from fence". Althoughbarrier=logis an approved tag, I made it unsearchable to prevent mappers from adding fallen trees that don't obstruct a passage.Closes #505