This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vectortile:schema:v2:road [2020/03/18 05:30] tgwikiupdate [class] |
vectortile:schema:v2:road [2020/03/18 06:17] (current) tgwikiupdate |
||
---|---|---|---|
Line 43: | Line 43: | ||
==== type ==== | ==== type ==== | ||
- | ''type'': Indicates a specific classification for the road, for example “residential”,”living_street” etc . | + | Indicates a specific classification for the road, for example “residential”,”living_street” etc . |
==== oneway ==== | ==== oneway ==== | ||
- | ''oneway'': Indicates the access direction of the road. If true, means that it’s one way and follows the same direction of the linestring, false means it’s two way. | + | Indicates the access direction of the road. If the road is one-way, traffic travels in the same direction as the sequence of line's vertex. The value can be: |
+ | |||
+ | |||
+ | ^Value ^Description^ | ||
+ | |'' '0' '' |Not a one-way road.| | ||
+ | |'' '1' '' |One-way road, the direction is following the direction of line's vertex.| | ||
+ | |'' '-1' '' |One-way road, the direction is in the opposite direction of line's vertex.| | ||
==== name ==== | ==== name ==== | ||
- | ''name'': The name of the road. | + | The name of the road, sometimes it's in native language. |
==== ref ==== | ==== ref ==== | ||
- | ''ref'': The reference numbers or codes. Common for roads, highway exits, routes, etc. | + | The reference numbers or codes. Common for roads, highway exits, routes, etc. |
==== structure ==== | ==== structure ==== | ||
- | ''structure'': Indicates whether the road is bridge, tunnel, ford or normal. | + | Indicates whether the road is bridge, tunnel, ford or normal. |
- | + | ||
- | 1 -- normal | + | |
- | + | ||
- | 2 -- bridge | + | |
- | + | ||
- | 4 -- tunnel | + | |
- | + | ||
- | 8 -- ford | + | |
- | 16 -- tollway | + | ^Value ^Description^ |
+ | |'' '0' '' |normal| | ||
+ | |'' '2' '' |bridge| | ||
+ | |'' '4' '' |tunnel| | ||
+ | |'' '8' '' |ford| | ||
+ | |'' '16' '' |tollway| | ||
==== layer ==== | ==== layer ==== | ||
- | ''layer'': Determines the hierarchy order of overlapping road segments in the tunnel, bridge, etc. The values range from '1' to '26'. It is usually related to drawing priorities. Usually, the roads with the larger value of the layer will be drawn first. | + | Determines the drawing order of overlapping road segments in the tunnel, bridge, etc. The values range from '1' to '26'. It is usually related to drawing priorities. Usually, the roads with the larger value of the layer will be drawn first. |