Ticket #79 (new enhancement)

Opened 8 months ago

Last modified 2 months ago

Mapnik and layer system of osm.org

Reported by: Skywave Owned by: artem
Priority: minor Milestone:
Component: Core Library Version:
Severity: Normal Keywords:
Cc: Patch Needs Improvement:
Needs Docmentation: Has Patch?:
Design Decision Needed:

Description

It seems mapnik has no easy way of supporting the layer tag as used in osm.org. Only possible way is making a rule for every motorway/trunk/primary/secondary for every single layer level. Idea is to indicate in osm.xml which tag to use. Something to keep in line with textsymbolizer like <LineSymbolizer layer="layer">. Mapnik then knows when a line is above a line without many rules in osm.xml, keeping it thus simple to modify afterwards.

Change History

Changed 8 months ago by tomh

The layer tag is handled by osm2pgsql using it to assign a value to the z_order columns in the database and the mapnik stylesheet then sorting query results by z_order.

Changed 2 months ago by springmeyer

  • priority set to minor
Note: See TracTickets for help on using tickets.