Opened 9 years ago

Closed 6 years ago

#3640 closed defect (duplicate)

Change rendering of highway=track tracktype=grade3/4/5

Reported by: travelling_salesman Owned by: mapnik-team@…
Priority: minor Milestone: Wishlist
Component: mapnik Version: 1.0
Keywords: track tracktype grade3 grade4 Cc: fkv


In the current rendering scheme at high zoom levels grade1 is rendered as a line, grade2 with long dashes, grade3 with short dashes, grade4 dash-dotted and grade5 dotted. Unfortunately it is hard to distinguish grade3 from grade5 and grade4 looks more solid than grade3.

In practice it can become important to distinguish all ways uniquely because it may determine if a way is e.g. accessible with a certain vehicle.


-Leave grade1 and grade2 unchanged, they are alright.

-Draw grade3 as grade4 is currently drawn.

-Draw grade4 as grade3 is currently drawn.

-Draw grade5 with slightly smaller dots to make it distinguishable from grade3/4.

Change History (3)

comment:1 Changed 9 years ago by ppeta

I don't like the current tate too. I append, that rendering of grade3 is the same as without tracktype tag. My proposed solution is here:

grade1 -------------- grade2 ---- ---- ---- grade3 --- --- --- --- grade4 -- -- -- -- -- grade5 - - - - - - - - no tag --- - --- - ---

This look very good, it's simple and logical.

comment:2 Changed 7 years ago by fkv

Cc: fkv added
Priority: trivialminor
Type: enhancementdefect

In my opinion, this is an obvious bug. grade3 looks like grade5, and grade4 looks stronger than grade3. I wonder why committers didn't care for 2 years, as already 2 solutions have been suggested.

Concerning tracks without tracktype, I think that taking the intermediate tracktype as default is not completely wrong, but that's certainly a matter of taste.

My personal favorite would be: grade2 with dashes twice as long as currently, grade3 as currently grade2, grade 4 leave unchanged, grade5 as currently grade3.

comment:3 Changed 6 years ago by math1985

Resolution: duplicate
Status: newclosed

This issue is also being discussed on Github, so I'm closing it here.

Note: See TracTickets for help on using tickets.