![]() |
||
---|---|---|
.. | ||
README.md | ||
highway.sql | ||
highway.yaml | ||
mapping.png | ||
mapping.yaml | ||
ne_global_roads.sql | ||
types.sql |
README.md
highway
Roads or highway
in OpenStreetMap lingo.
This layer is directly derived from the OSM road hierarchy which is why it is called highway
. Only
at zoom level 4 to 7 some major highways from Natural Earth are used otherwise it is only OSM data.
It contains all roads from motorways to primary, secondary and tertiary roads to residential roads and
foot paths. Styling the roads is the most essential part of the map. If you can put enough effort into it
makes sense to carefully style each subclass
. For more comfortable styling you can also just style the roads
by class
. Roads can have different properties, a road can have oneway=yes
and bridge=yes
at the same time.
These properties are reflected in the field properties
.
This layer is not meant for labelling the roads (the purpose of the layer highway_name
).
The highway
layer also contains polygons for things like plazas.
Fields
- class: Either
motorway
,major_road
(containingtrunk
,primary
,secondary
andtertiary
roads) andminor_road
(less important roads in the hierarchy likeresidential
orservice
) orpath
for non vehicle paths (such ascycleway
orfootpath
). - subclass: Original value of the
highway
tag. Use this to do more precise styling. - properties: Additional properties describing the nature of road.
The properties
bridge
andtunnel
can be combined withoneway
as well. So to style all bridges the same you should style both the propertiesbridge
andbridge:oneway
. Properties can be one ofbridge:oneway
,tunnel:oneway
,ramp
,ford
,bridge
,tunnel
oroneway
.