Modify

Opened 2 years ago

Closed 19 months ago

#23075 closed defect (duplicate)

street parking: false warning on conditionals

Reported by: mrgenie Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: parking conditional Cc:

Description

I'm following these examples:

https://wiki.openstreetmap.org/wiki/Key:parking:condition/complex

My conditionals are then as follow:

parking:condition:right:conditional=no_parking @ (Mo-Su 00:00-02:00,19:00-24:00)
parking:condition:right:maxstay:conditional=3 hours @ (Mo-Su 02:00-19:00)
parking:condition:right:reason=Harrison Night Market
parking:lane:right:parallel=on_street
parking:lane:right=parallel

on the parking:condition:right:maxstay:conditional I get the warning:
Wrong syntax in parking:condition:right:maxstay:conditional key (2)

and on the parking:condition:right:conditional I get the warning:
Wrong syntax in parking:condition:right:conditional key (2)

But I don't see where I made a mistake to be honest.

and weirdly to the same ways I also have:
foot:conditional=yes @ (00:00-02:00,19:00-24:00)
vehicle:conditional=yes @ (02:00-19:00)

but there JOSM doesn't complain. And yes the "Mo-Su" part I removed as well for the sake of argument - yet the warning for the parking remains even if I remove the Mo-Su and have basically a complete identical key value as for the vehicle/foot conditional keys.

Attachments (0)

Change History (5)

comment:1 by gaben, 2 years ago

Component: CoreCore validator
Keywords: conditional added

in reply to:  description comment:2 by skyper, 21 months ago

Replying to mrgenie:

I'm following these examples:

https://wiki.openstreetmap.org/wiki/Key:parking:condition/complex

The keys have been deprecated but the new keys (osmwiki:Street_parking) do still lead to warnings, e.g.:

parking:right:restriction:conditional=no_parking @ (We 10:00-12:00)
parking:right:restriction:reason:conditional=street_cleaning @ (We 10:00-12:00)

parking:right:maxstay:conditional=2 hours @ (Mo-Fr 08:00-17:00)
parking:right:authentication:disc:conditional=yes @ (Mo-Fr 08:00-17:00)

parking:right:fee:conditional=no @ (Mo-Sa 00:00-09:00,22:00-24:00; Su)

parking:right:access:conditional=no @ (Mo-Sa 06:00-17:00); yes @ PH
parking:right:disabled:conditional=designated @ (Mo-Sa 06:00-17:00); yes @ PH

comment:3 by skyper, 21 months ago

Keywords: parking added

comment:4 by skyper, 21 months ago

Summary: false warning on conditionals?street parking: false warning on conditionals

comment:5 by skyper, 19 months ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #21930.

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.