Ticket #2326 (new enhancement)

Opened 5 years ago

Last modified 8 days ago

[roads] Render refs of tracks/footways/paths

Reported by: ColinMarquardt Owned by: mapnik-team@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

Hi,

in Italy for instance, lots of hiking paths are numbered. In order to get the number shown, these commonly also use the name key for the number, in addition to ref.

So for that reason, the ref should be shown. Since the name is centered on the line, the ref could be drawn along it with a dy offset.

Example with name and ref set to the same value: http://www.openstreetmap.org/browse/way/34909410

Example with *different* name and ref: http://www.openstreetmap.org/browse/way/24863658

TIA

Colin

Change History

comment:1 Changed 3 years ago by stanton

While I do find this justified, I am worried about overloading the main Mapnik layer. In my opinion it would make sense to offer a choice of map views - we have the feature but I find it severely underused.

I have in mind a menu like the following:

  • Street map (=Mapnik as we now know it)
  • OpenCycleMap?
  • Hiking map (with track refs rendered - maybe we can combine this with OpenCycleMap? into a hike-and-bike map view)
  • Public transportation (lines on a grayed-out street map background)
  • Other special-purpose map views we can think of: nautic maps, skiing...

That would be a long-term solution... a quicker win would probably to integrate it into OpenCycleMap? - I guess it fits better there then in the main Mapnik view.

comment:2 Changed 3 years ago by stanton

sorry, messed up the formatting, here's the menu in legible form:

  • Street map (=Mapnik as we now know it)
  • OpenCycleMap?
  • Hiking map (with track refs rendered - maybe we can combine this with OpenCycleMap? into a hike-and-bike map view)
  • Public transportation (lines on a grayed-out street map background)
  • Other special-purpose map views we can think of: nautic maps, skiing...

comment:3 Changed 8 days ago by math1985

  • Summary changed from Render refs of tracks/footways/paths to [roads] Render refs of tracks/footways/paths
Note: See TracTickets for help on using tickets.