Opened 11 years ago
Last modified 6 years ago
#11253 closed defect
[Patch] Parkings and maxstay: no unit for the maxstay-time — at Version 5
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 20.05 |
| Component: | Internal preset | Version: | tested |
| Keywords: | template_report maxstay unit | Cc: |
Description (last modified by )
What steps will reproduce the problem?
Select a random car parking and add a "maxstay"-time using the dialogue:
Select the maxstay-time in minutes (0, 30, 60, ...) from the drop-down-menu, and a "maxstay"-key/value-pair is added to the parking object. Everything works ok here.
What is the expected result?
According to the OSM wiki article on the "maxstay"-key (osmwiki:Key:maxstay) and the previous discussion (osmwiki:Proposed_features/Maximum_Stay) it seems necessary to add a unit of time (minute(s), hour(s), day(s)) after the numeric value.
Example: the key/value-pair of a maxstay of 120 minutes should be "maxstay=120 minutes", but...
What happens instead?
... JOSM omits the time unit and writes only "maxstay=120" although the dialogue advises to enter the time in minutes.
Perhaps, if accepted as a bug, this might also be a candidate for the built-in check and validator functions...
Revision: 8109 Repository Root: http://josm.openstreetmap.de/svn Relative URL: ^/trunk Last Changed Author: Don-vip Last Changed Date: 2015-03-02 00:13:51 +0100 (Mon, 02 Mar 2015) Build-Date: 2015-03-02 02:30:58 URL: http://josm.openstreetmap.de/svn/trunk Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last Changed Rev: 8109 Identification: JOSM/1.5 (8109 de) Windows 7 64-Bit Memory Usage: 123 MB / 989 MB (55 MB allocated, but free) Java version: 1.8.0_31, Oracle Corporation, Java HotSpot(TM) Client VM Dataset consistency test: No problems found Plugins: - FixAddresses (30892) - HouseNumberTaggingTool (30892) - OpeningHoursEditor (30962) - RoadSigns (30977) - buildings_tools (30955) - imagery_offset_db (30892) - namemanager (30892) - public_transport (30892) - reverter (30990) - tageditor (30892) - terracer (30892) - turnlanes (30892) - turnrestrictions (31034) Last errors/warnings: - E: java.io.IOException: No file found for: http://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportation&style - E: Fehler beim Laden des Bildes 'error_small.png' - W: Mappaint style "standard" (FIXME Highlight Warnings) icon "error_small.png" not found. - E: Fehler beim Laden des Bildes 'maxspeed_icon.svg' - W: Mappaint style "standard" (Höchstgeschwindigkeit) icon "maxspeed_icon.svg" not found.
Change History (7)
comment:1 by , 6 years ago
| Component: | Core → Internal preset |
|---|---|
| Priority: | trivial → normal |
comment:2 by , 6 years ago
| Keywords: | maxstay unit added |
|---|
comment:3 by , 6 years ago
comment:4 by , 6 years ago
I updated the preset patch and added the validator part, see josm_11253_preset_v2.patch and josm_11253_validator.patch. Hope it is ok in two separate files. Please, recheck, especially the validator part, as I am not that familiar with the mapcss, yet.
I was unsure about the values no and unlimited but 0 is even worse.
comment:5 by , 6 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | Parkings and maxstay: no unit for the maxstay-time → [Patch] Parkings and maxstay: no unit for the maxstay-time |



And a Validator warning for values without units.