#21426 closed enhancement (fixed)
[Patch] Add preset "layer" to preset "railway"
Reported by: | tomasmarklund | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 21.10 |
Component: | Internal preset | Version: | |
Keywords: | railway layer | Cc: |
Description
Add preset "layer" to "railway" preset dialog, in the same way as "layer" is available in all the highway preset dialogs.
It would increase speed and quality if both "bridge" tickbox and "layer" dropdown were available in the railway preset. Now, only the bridge tickbox is available, and the layer tag needs to either be added manually, or by opening the "bridge" preset after closing the railway preset.
Attachments (1)
Change History (11)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Another option would be replacing the checks for tunnel
and bridge
with preset_links to Tunnel resp. Bridge preset for all *ways. These links can be placed everywhere in the preset and not only on the bottom but they use quite a lot of space as one occupies a complete row.
comment:3 by , 3 years ago
Keywords: | railway layer added |
---|---|
Milestone: | → 21.10 |
Summary: | Add preset "layer" to preset "railway" → [Patch] Add preset "layer" to preset "railway" |
comment:5 by , 3 years ago
layer=0
(added to the presets) would result in unnecessary tag
warnings
https://josm.openstreetmap.de/browser/josm/trunk/resources/data/validator/unnecessary.mapcss#L5
Maybe the patch should only suggest to add 5,4,3,2,1,-1,-2,-3,-4,-5?
follow-up: 7 comment:6 by , 3 years ago
Well, again, I just copied the layer combo but you are right that it is strange to first offer the value and than warn about it. New ticket?
comment:7 by , 3 years ago
follow-up: 9 comment:8 by , 3 years ago
It seems layer=-1
is being set by default for the "Bridge outline" preset. Looks like a copy-paste error, should probably be changed to layer=1
.
Line 6182 in [18279].
comment:9 by , 3 years ago
Replying to riiga_92@…:
It seems
layer=-1
is being set by default for the "Bridge outline" preset. Looks like a copy-paste error, should probably be changed tolayer=1
.
Line 6182 in [18279].
Yes, of course, see #21610
+1, makes perfectly sense to always offer
layer=*
withbridge=*
and/ortunnel=*