Opened 5 years ago
Closed 5 years ago
#18293 closed defect (fixed)
JOSM complains about crossing features although level tags are present
Reported by: | Owned by: | Don-vip | |
---|---|---|---|
Priority: | normal | Milestone: | 19.11 |
Component: | Core validator | Version: | tested |
Keywords: | level crossing | Cc: |
Description
It seems that the validator doesn't always take level=* tags into account. I get warnings about crossing highway/railway, railways, building/highway and building/railway, although the features have different level tags. However, it doesn't give a warning with highways having different level=* tags.
An example to reproduce this bug:
Draw two crossing lines. Tag one railway=rail + level=0 and the other highway=footway + level=1. The validator will give a warning. However, there will be no warning when both lines are tagged highway=footway.
Attachments (1)
Change History (10)
follow-up: 2 comment:1 by , 5 years ago
follow-up: 3 comment:2 by , 5 years ago
Replying to GerdP:
I think level is used for indoor tagging. You probably meant layer?
No, i mean level. I was improving a multi-level train station (46.94918,7.43798).
Note that the wiki also recommends using level for train stations:
"Ways in buildings (or similar structures like multilevel parking lots, shopping centers, airports, railway stations, some multilevel bridges and roads...) should be mostly described with level=* instead of layer." – https://wiki.openstreetmap.org/wiki/Key:layer
I finally added redundant layer tags as a workaround.
comment:3 by , 5 years ago
Replying to selfishseahorse@…:
I finally added redundant layer tags as a workaround.
Which isn't unproblematical as there could be two or more layers on one single level.
comment:4 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Please attach a sample .osm file and the first three blocks of your status report.
by , 5 years ago
Attachment: | Untitled.osm added |
---|
comment:5 by , 5 years ago
First blocks of status report:
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-11-01 23:59:01 +0100 (Fri, 01 Nov 2019) Build-Date:2019-11-01 22:59:57 Revision:15492 Relative:URL: ^/trunk Identification: JOSM/1.5 (15492 en) Mac OS X 10.13.6 OS Build number: Mac OS X 10.13.6 (17G8037) Memory Usage: 874 MB / 1820 MB (202 MB allocated, but free) Java version: 1.8.0_231-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: Display 69677504 1280x800 Maximum Screen Size: 1280x800 VM arguments: [-Djava.library.path=/Applications/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DApplicationDirectory=${HOME}/Applications, -DAutosavedInformationDirectory=${HOME}/Library/Autosave Information, -DDesktopDirectory=${HOME}/Desktop, -DDownloadsDirectory=${HOME}/Downloads, -DMoviesDirectory=${HOME}/Movies, -DMusicDirectory=${HOME}/Music, -DPicturesDirectory=${HOME}/Pictures, -DSharedPublicDirectory=${HOME}/Public, -DSystemLibraryDirectory=/Library, -DSystemApplicationSupportDirectory=/Library/Application Support, -DSystemCachesDirectory=/Library/Caches, -DSystemApplicationDirectory=/Applications, -DSystemUserDirectory=/Users, -DUserHome=${HOME}, -DSandboxEnabled=true, -DLaunchModifierFlags=0, -DLaunchModifierFlagCapsLock=false, -DLaunchModifierFlagShift=false, -DLaunchModifierFlagControl=false, -DLaunchModifierFlagOption=false, -DLaunchModifierFlagCommand=false, -DLaunchModifierFlagNumericPad=false, -DLaunchModifierFlagHelp=false, -DLaunchModifierFlagFunction=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true] Dataset consistency test: No problems found Plugins: + measurement (35051) + reverter (35084) + undelete (34977) + utilsplugin2 (35177) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1 Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - W: No default layer selected, choosing first layer. - W: No default layer selected, choosing first layer.
comment:6 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
comment:7 by , 5 years ago
Keywords: | level crossing added |
---|
comment:8 by , 5 years ago
Milestone: | → 19.11 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
I think level is used for indoor tagging. You probably meant layer?