Opened 11 years ago

Closed 11 years ago

#645 closed enhancement (fixed)

[patch] render tracks differently depending on tracktype=grade[1-5]

Reported by: schuetzm@… Owned by: Jochen Topf
Priority: major Milestone:
Component: osmarender Version:
Keywords: patch Cc:

Description

The attached patch makes osmarender show highway=track's differently depending on the tracktype http://wiki.openstreetmap.org/index.php/Proposed_features/grade1-5. Grades 4 and 5 are hidden on lower zoom levels.

A preview of the rendering can be found here (if it's still there).

Attachments (2)

tracktype.diff (17.4 KB) - added by schuetzm@… 11 years ago.
tracktype2.diff (16.3 KB) - added by schuetzm@… 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by schuetzm@…

Attachment: tracktype.diff added

comment:1 Changed 11 years ago by Knut Arne Bjørndal

Resolution: fixed
Status: newclosed

Commited in r6533

Changed 11 years ago by schuetzm@…

Attachment: tracktype2.diff added

comment:2 Changed 11 years ago by schuetzm@…

Resolution: fixed
Status: closedreopened

New patch (against current svn) with the following changes:

  • if an unknown tracktype is encountered, rendering is the same as without tracktype
  • grade4/grade5 tracks are not hidden on lower zoom levels
  • style changes to make the different dash-types more distinguishable

comment:3 Changed 11 years ago by bobkare

Resolution: fixed
Status: reopenedclosed

(In [6837]) Commited patch from schuetzm@…. Closes #645

Note: See TracTickets for help on using tickets.