Modify

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#10044 closed enhancement (fixed)

Bridges and tunnels are rendered in exactly the same way [patch]

Reported by: mkoniecz Owned by: team
Priority: normal Milestone: 14.06
Component: Internal mappaint style Version:
Keywords: Cc: Klumbumbus

Description (last modified by mkoniecz)

Maybe at least different shades of blue? Or brown for tunnels?

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-05-11 01:36:45
Last Changed Author: bastiK
Revision: 7105
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-05-11 01:48:28 +0200 (Sun, 11 May 2014)
Last Changed Rev: 7105

Identification: JOSM/1.5 (7105 en) Windows 7 32-Bit
Memory Usage: 73 MB / 247 MB (34 MB allocated, but free)
Java version: 1.7.0_55, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (30416)
Plugin: RoadSigns (30438)
Plugin: buildings_tools (30416)
Plugin: continuosDownload (28565)
Plugin: lakewalker (30416)
Plugin: measurement (30416)
Plugin: notes (v0.9.2)
Plugin: wikipedia (30416)

Attachments (5)

example.osm (2.3 KB) - added by mkoniecz 10 years ago.
example of situation where it would be useful
pl2-tunnel_and_bridge.png (13.1 KB) - added by bastiK 10 years ago.
Brown tunnel.PNG (36.6 KB) - added by mkoniecz 9 years ago.
with patch
tunnel.diff (343 bytes) - added by mkoniecz 9 years ago.
patch
Blue tunnel.PNG (33.7 KB) - added by mkoniecz 9 years ago.
without patch

Download all attachments as: .zip

Change History (18)

Changed 10 years ago by mkoniecz

Attachment: example.osm added

example of situation where it would be useful

comment:1 Changed 10 years ago by mkoniecz

Description: modified (diff)

comment:2 Changed 10 years ago by bastiK

Component: Core mappaintInternal mappaint style

comment:3 Changed 10 years ago by Don-vip

@Bulwersator: some clarification on our components:

  • Core mappaint: involves Java changes in the process of rendering data (example: we add a new feature to MapCSS support)
  • Internal mappaint style: updating the default map style to change colors, icons, so on

comment:4 Changed 10 years ago by mkoniecz

Thanks, I will now tag it correctly.

Changed 10 years ago by bastiK

Attachment: pl2-tunnel_and_bridge.png added

comment:5 Changed 10 years ago by bastiK

PL2 style:

I guess a dashed line of some kind makes sense for a tunnel.

comment:6 Changed 10 years ago by Klumbumbus

Cc: Klumbumbus added

comment:7 Changed 10 years ago by bastiK

Some suggestions would be welcome (image or style).

comment:8 Changed 10 years ago by skyper

Think I would prefer little color change and keeping the side for other stuff.

  • darker for bridges and lighter for tunnels
    • only problem is with white highways which can not be displayed lighter.
  • have a concave/convex half circle at the end nodes.

comment:9 in reply to:  8 Changed 10 years ago by Klumbumbus

Replying to skyper:

  • have a concave/convex half circle at the end nodes.

This is maybe not perfect for long tunnels like way/200282918 because you need to zoom out far to see if it is a tunnel or not.
There is also a problem if the tunnel is splitted like the tunnel from above and way/200399876. There would be two half circles at the split point.

comment:10 Changed 9 years ago by mkoniecz

I finally tested my idea with brown tunnels and IMHO it works. I will attach patch, how example works with it and without it.

Changed 9 years ago by mkoniecz

Attachment: Brown tunnel.PNG added

with patch

Changed 9 years ago by mkoniecz

Attachment: tunnel.diff added

patch

Changed 9 years ago by mkoniecz

Attachment: Blue tunnel.PNG added

without patch

comment:11 Changed 9 years ago by mkoniecz

Summary: Bridges and tunnels are rendered in exactly the same wayBridges and tunnels are rendered in exactly the same way [patch]

comment:12 Changed 9 years ago by bastiK

Resolution: fixed
Status: newclosed

In 7255/josm:

applied #10044 Bridges and tunnels are rendered in exactly the same way (based on patch by Bulwersator)

comment:13 Changed 9 years ago by Don-vip

Milestone: 14.06

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.