Modify

Opened 7 years ago

Last modified 7 years ago

#15984 new defect

Image forward direction in drawing direction way, problem.

Reported by: Allroads Owned by: team
Priority: normal Milestone:
Component: Core mappaint Version:
Keywords: Cc:

Description (last modified by Allroads)

We have the Openstreetmap access signs.
https://wiki.openstreetmap.org/wiki/Key:access#Land-based_transportation
example:
https://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Sinnbild_Kraftrad.svg/20px-Sinnbild_Kraftrad.svg.pnghttps://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Sinnbild_PKW.svg/20px-Sinnbild_PKW.svg.png

We have the traffic_signs.
Like these https://wiki.openstreetmap.org/wiki/NL:Overzicht_Nederlandse_Verkeersborden#C:_Geslotenverklaring
Example:
https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Nederlands_verkeersbord_C11.svg/60px-Nederlands_verkeersbord_C11.svg.pnghttps://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Nederlands_verkeersbord_C7.svg/60px-Nederlands_verkeersbord_C7.svg.png

The forward direction of these vehicle images is from right to left.

Logical, that I made icon image from right to left too.

Now making a mapcss style using these icon image, I see that the forward direction of these images is not the drawing direction of the way, forward, this is odd and confusing.


There are access rights, then only :forward and :backward is used in the key.
This must be expressed in the icon image, showing the forward to the front of the vehicle.


Then we can see the drawing direction of the way, when you see a vehicle icon and set for example a traffic_signal, give way, stop direction, derived from the vehicle icon.

Therefor, we need to flip the icon 180 degrees.
We need a code for that.

And I need to reset the icon-offset. ( to get it under the line as the examples).

Attachments (2)

Direction image way.PNG (11.3 KB ) - added by Allroads 7 years ago.
Direction image forward way.PNG (10.2 KB ) - added by Allroads 7 years ago.

Download all attachments as: .zip

Change History (7)

by Allroads, 7 years ago

Attachment: Direction image way.PNG added

by Allroads, 7 years ago

comment:1 by Allroads, 7 years ago

Description: modified (diff)

comment:2 by stoecker, 7 years ago

Why not simply use two icons for this purpose?

comment:3 by Allroads, 7 years ago

Because a turned icon is not a logical icon.
For one transportation category this are a lot of two icons, all the different access types have there own colors.
scheme http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/Road_extended_JOSM_style_info.html.

comment:4 by Allroads, 7 years ago

But maybe it is a basic problem, that in basic the icon must be turned (180) in way direction for every icon.

Then a code turn 180 is not needed.

comment:5 by Allroads, 7 years ago

This defect/enhancement is made because of this 14970#comment:19 comment with a CSS link, transform

For node is a normal (logical) icon needed, way is different (180 degrees).

How to flip a .svg icon?
As set.
And rename.
As set? .180

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Allroads.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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