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 )
We have the Openstreetmap access signs.
https://wiki.openstreetmap.org/wiki/Key:access#Land-based_transportation
example:
We have the traffic_signs.
Like these https://wiki.openstreetmap.org/wiki/NL:Overzicht_Nederlandse_Verkeersborden#C:_Geslotenverklaring
Example:
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)
Change History (7)
by , 7 years ago
Attachment: | Direction image way.PNG added |
---|
by , 7 years ago
Attachment: | Direction image forward way.PNG added |
---|
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
comment:3 by , 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 , 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 , 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
Why not simply use two icons for this purpose?