Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#18062 closed defect (invalid)

JOSM gives false positive warning on public_transport:version=* on a relation with type=route

Reported by: boeleman Owned by: boeleman
Priority: normal Milestone:
Component: Core validator Version: tested
Keywords: public transport version route Cc:

Description

The JOSM valiation tool keeps warning that public_transport:version=* needs to be specified even though the public transport routes I am checking have this tag already. The version is from Debian testing 1.5.svn15238.

Attachments (0)

Change History (11)

comment:1 Changed 2 years ago by Klumbumbus

Owner: changed from team to boeleman
Status: newneedinfo

Please attach a sample .osm file or link an osm objekt.

Last edited 2 years ago by Klumbumbus (previous) (diff)

comment:2 Changed 2 years ago by Klumbumbus

Component: CoreCore validator

comment:3 Changed 2 years ago by Don-vip

Keywords: public transport version route added
Resolution: needinfo
Status: needinfoclosed

comment:4 Changed 2 years ago by boeleman

Resolution: needinfo
Status: closedreopened

I though I submitted this information but I must have made a mistake. This is an example of a relation which has this problem:

https://www.openstreetmap.org/relation/7085211

comment:5 Changed 2 years ago by Klumbumbus

I don't get this warning for this relation. Please add your statusreport.

comment:6 Changed 2 years ago by Don-vip

Status: reopenedneedinfo

comment:7 Changed 2 years ago by boeleman

Please see below:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019)
Revision:15322
Build-Date:2019-08-26 06:57:10
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (15322 en) Linux Debian GNU/Linux bullseye/sid
Memory Usage: 250 MB / 1926 MB (49 MB allocated, but free)
Java version: 11.0.4+11-post-Debian-1, Debian, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-11-jre:amd64-11.0.4+11-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.35.0-3
libcommons-compress-java: libcommons-compress-java:all-1.18-2
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20181227-1
liboauth-signpost-java: liboauth-signpost-java:all-1.2.1.2-2
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ DirectUpload (35041)
+ PicLayer (35104)
+ editgpx (34908)
+ ejml (35049)
+ geojson (124)
+ geotools (34908)
+ jogl (1.2.3)
+ jts (35064)
+ log4j (34908)
+ pt_assistant (705)
+ tofix (487)
+ utilsplugin2 (35098)

Tagging presets:
+ /usr/share/josm/data/defaultpresets.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1

Map paint styles:
+ /usr/share/josm/styles/standard/elemstyles.xml
- /usr/share/josm/styles/standard/potlatch2.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1

Last errors/warnings:
- E: java.nio.file.NoSuchFileException: /usr/share/josm/data/defaultpresets.xml
- E: /usr/share/josm/data/defaultpresets.xml
- W: Failed to load Mappaint styles from '/usr/share/josm/styles/standard/elemstyles.xml'. Exception was: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/elemstyles.xml
- E: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/elemstyles.xml
- E: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard
- W: Initializing map style /usr/share/josm/styles/standard/elemstyles.xml completed in 2 ms (1 errors, 0 warnings)
- W: Failed to load Mappaint styles from '/usr/share/josm/styles/standard/potlatch2.mapcss'. Exception was: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/potlatch2.mapcss
- E: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/potlatch2.mapcss
- W: No configuration settings found.  Using hardcoded default values for all pools.

comment:8 Changed 2 years ago by Klumbumbus

There is a problem with your preset file: java.nio.file.NoSuchFileException: /usr/share/josm/data/defaultpresets.xml

Please go to the settings: wiki:Help/Preferences/Map#TaggingPresets remove /usr/share/josm/data/defaultpresets.xml in the right list and add Internal Preset from the left list.

comment:9 Changed 2 years ago by stoecker

In case that does not work (Debian does file installation different to default josm release) I suggest to reinstall josm and/or reset preferences.

comment:10 Changed 2 years ago by Don-vip

Resolution: invalid
Status: needinfoclosed

comment:11 Changed 2 years ago by boeleman

That did the trick.

Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain boeleman.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.