Modify

Opened 5 years ago

Closed 5 years ago

#18322 closed defect (fixed)

Counterintuitive warning about unusual Unicode characters with super-/subscript

Reported by: anonymous Owned by: Don-vip
Priority: normal Milestone: 19.12
Component: Core validator Version:
Keywords: unicode ref france Cc:

Description

Hello, there.

Here, in France, numerous roads branching from a main one use the same ref, with a letter, which is often in subscript or, mostly, superscript; note that this ref can also appear in destination:* tags. The problem is that, in such cases, the JOSM (15492) validator warns about unusual Unicode character but, if I want to tag what's on the ground, I must use the super-/subscript. That could lead users to erroneously drop the subscript/superscript letters, replacing them by standard ones, whereas using super-/subscript is closer to reality. Could JOSM stop complaining about superscript/subscript characters, at least for all [*:]ref[:*] tags?

Awaiting your answer,

Regards.

Attachments (0)

Change History (9)

comment:1 by Klumbumbus, 5 years ago

Component: CoreCore validator
Type: enhancementdefect

Please link some examples.

comment:2 by stoecker, 5 years ago

And pictures of the related traffic signs if possible - I didn't fully understand the description.

comment:3 by Don-vip, 5 years ago

Keywords: unicode added
Owner: changed from team to anonymous
Status: newneedinfo

And also your status report. This ticket lacks a lot of needed information. If you're not at ease with English, please post in French, I'll translate.

comment:4 by Don-vip, 5 years ago

Keywords: ref france added
Milestone: 19.11
Owner: changed from anonymous to Don-vip
Status: needinfoassigned

Found one: https://www.openstreetmap.org/way/342883660

@anonymous: It would have saved me a lot of time if you had linked an example, as requested :(

comment:5 by Don-vip, 5 years ago

Milestone: 19.11

Not sure this is a good idea to use the subscripts/superscripts available in Unicode:

comment:6 by anonymous, 5 years ago

@Don-vip: I simply did not check the ticket, so I didn't saw you were asking for an example. Sorry for the delay.

I'm aware that these sub-/superscript were not meant for this usage, but using them, when appropriate and possible, seems to improves OSM data by giving a ref closer to reality.

comment:7 by Don-vip, 5 years ago

It is better visually, but if you search in my example "D36A" instead of D 36ᴬ you won't find the road in nominatim. It's just an example, you can't expect all data consumers to be able to recognize phonetic extensions in a non-phonetic string. My guess would be to write it as D36A in ref and D36ᴬ in another tag. visual_ref or something ? It would only be needed for the renderer.

I blame the departments for this stupid decision. Why didn't they simply use D36A? Using a letter as exponent is really strange.

comment:8 by Don-vip, 5 years ago

Milestone: 19.12

comment:9 by Don-vip, 5 years ago

Resolution: fixed
Status: assignedclosed

In 15614/josm:

fix #18322 - allow uppercase superscript latin characters in *ref tags

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
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.