Modify

Opened 6 years ago

Closed 6 years ago

#19129 closed defect (wontfix)

highway lanes should really be int?

Reported by: francians Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: template_report highway lanes validator int Cc:

Description

Hello,

I was reading this wiki page:
https://wiki.openstreetmap.org/wiki/Tag:highway%3Dpassing_place
that gives an example:

lanes=1.5
in JOSM it is an error...
Should wiki be discussed or JOSM validator relaxed?

Thanks for any information and help
Francesco

What steps will reproduce the problem?

  1. draw a line
  2. add highway=service + lanes=1.5
  3. validate

What is the expected result?

warning? nothing?

What happens instead?

error: lanes should be positive int

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-04-06 02:17:07 +0200 (Mon, 06 Apr 2020)
Revision:16239
Build-Date:2020-04-06 00:18:43
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (16239 it) Linux Antergos Linux
Memory Usage: 351 MB / 3978 MB (139 MB allocated, but free)
Java version: 13.0.2+8, N/A, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (35405)
+ PicLayer (35405)
+ apache-commons (35362)
+ apache-http (35092)
+ buildings_tools (35405)
+ ejml (35313)
+ geotools (35169)
+ jaxb (35092)
+ jna (35092)
+ jts (35122)
+ opendata (35405)
+ reverter (35409)
+ turnrestrictions (35405)
+ utilsplugin2 (35405)
+ wikipedia (1.1.3)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/IT.zip

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/SuspiciousSwimming_Pool&zip=1
+ ${HOME}/git/map-this-way/MapThisWay.validator.mapcss

Attachments (0)

Change History (3)

comment:1 by stoecker, 6 years ago

It seems lane=1.5 as unwanted. See lanes description: To signify that a road has no lane markings, it is recommended to use an explicit tag like lane_markings=no or similar instead of an odd value for the lanes=* key like 0, 1.5 or none because the latter is ambiguous and may not be processed correctly by data consumers.

comment:2 by skyper, 6 years ago

lanes=* with only positive integers is already ambiguous Without lane markings it is simply a guess. Using decimal numbers does not help at all. Better use width=* or narrow.

comment:3 by stoecker, 6 years ago

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.