Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12948 closed defect (fixed)

Validator complain about unknown values for capacity

Reported by: mdk Owned by: team
Priority: normal Milestone: 16.06
Component: Core validator Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Draw an parking place aminity=parking & parking=surface & capacity=50
  2. Validate

What is the expected result?

No validator messages

What happens instead?

Preset do not contain property value: value '50' for key 'capacity' is not in the preset.
The same in a small area I currently editing: 11, 55, 150

A similar problem happens with the key 'cables'. But there are explicit values in the presets.
But there are several false positive like '4'. In Switzerland we have two different power system. The 'normal' which has multiple of 3 cables and the 'railway' power which has '4' (according to taginfo over 4000 times). And sometimes the use the same poles or towers. So '7' and more often '10' are also normal.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-09 23:01:04 +0200 (Thu, 09 Jun 2016)
Build-Date:2016-06-10 01:32:20
Revision:10349
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10349 en) Linux Ubuntu 15.10
Memory Usage: 488 MB / 876 MB (101 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-0ubuntu4~15.10.1-b14, Oracle Corporation, OpenJDK Server VM
VM arguments: [-Djosm.restart=true, -Djosm.home=<josm.pref>, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
- ColumbusCSV (32158)
- FastDraw (32158)
- HouseNumberTaggingTool (31926)
- Mapillary (32158)
- OpeningHoursEditor (32158)
- RoadSigns (32177)
- SimplifyArea (32158)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- contourmerge (1014)
- imagery-xml-bounds (32158)
- imagery_offset_db (32158)
- pbf (32158)
- poly (32158)
- public_transport (32158)
- reltoolbox (32158)
- reverter (32158)
- terracer (32158)
- turnlanes (32158)
- turnrestrictions (32158)
- utilsplugin2 (32158)

Tagging presets:
- https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1

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

Last errors/warnings:
- E: Skipping to the next rule, because of an error:
- E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " <IDENT> "preset "" at line 1, column 19.
- W: Failed to parse Mappaint styles from 'https://josm.openstreetmap.de/josmfile?page=Styles/Traffic_signs&zip=1'. Error was: Reached end of file while parsing
- E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Reached end of file while parsing
- W: Initializing map style https://josm.openstreetmap.de/josmfile?page=Styles/Traffic_signs&zip=1 completed in 8 ms (2 errors, 0 warnings)

Attachments (0)

Change History (2)

comment:1 by Klumbumbus, 8 years ago

Resolution: fixed
Status: newclosed

In 10361/josm:

fix #12948 - slightly improve cables, circuits and capacity presets and warnings; partly a regression of r10330

comment:2 by Klumbumbus, 8 years ago

Milestone: 16.06

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.