Osmarender/Tags

From OpenStreetMap

Jump to: navigation, search

Map data can be tagged with a number of specific tags which give Osmarender hints about how to render the data.

Contents

osmarender:nameDirection

By default Osmarender will draw street names left-to-right along ways. It uses the longitude (horizontal position) of the start and end points of the way to determine the direction.

In some cases, for example, very winding roads, the automatically chosen name direction is not ideal. In this case the way can be tagged with osmarender:nameDirection=-1 or osmarender:nameDirection=1 as a hint to tell Osmarender which way to draw the name.

osmarender:render

If a node or way is tagged with osmarender:render=no then it will not be rendered by Osmarender even if there is a rule for it. This is implemented using a rule in the standard map features rule file.

osmarender:renderName

If a node or way is tagged with osmarender:renderName=no then the line or symbol for the element will be rendered but the name will not be. This is implemented using a rule in the standard map features rule file.

osmarender:renderRef

If a node or way is tagged with osmarender:renderRef=no then the line or symbol for the element will be rendered but the value of the ref key will not be. This is implemented using a rule in the standard map features rule file.

Personal tools
recent changes