mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 04:13:50 +01:00
Compare commits
1 commit
694f7b911b
...
b08200d759
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b08200d759 |
31 changed files with 549 additions and 30 deletions
|
|
@ -12,5 +12,35 @@
|
|||
"polygon"
|
||||
],
|
||||
"name": "Area",
|
||||
"matchScore": 0.1
|
||||
"matchScore": 0.1,
|
||||
"relation": {
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"inner": "Inner"
|
||||
},
|
||||
"geometry": [
|
||||
"line",
|
||||
"area"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"outer": "Outer"
|
||||
},
|
||||
"geometry": [
|
||||
"line",
|
||||
"area"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
],
|
||||
"min": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,62 @@
|
|||
"key": "public_transport",
|
||||
"value": "stop_area"
|
||||
},
|
||||
"name": "Transit Stop Area"
|
||||
"name": "Transit Stop Area",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"stop": "Stop"
|
||||
},
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"public_transport": "stop_position"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"platform": "Platform"
|
||||
},
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex",
|
||||
"line",
|
||||
"area"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"public_transport": "platform"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"entrance": "Entrance",
|
||||
"subway_entrance": "Subway Entrance"
|
||||
},
|
||||
"matchTags": [
|
||||
{
|
||||
"entrance": "*"
|
||||
},
|
||||
{
|
||||
"railway": "subway_entrance"
|
||||
}
|
||||
],
|
||||
"geometry": [
|
||||
"vertex"
|
||||
]
|
||||
},
|
||||
{
|
||||
"matchTags": [
|
||||
{}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,5 +10,65 @@
|
|||
"tags": {
|
||||
"type": "boundary"
|
||||
},
|
||||
"name": "Boundary"
|
||||
"name": "Boundary",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"inner": "Inner"
|
||||
},
|
||||
"geometry": [
|
||||
"line",
|
||||
"area"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"outer": "Outer"
|
||||
},
|
||||
"geometry": [
|
||||
"line",
|
||||
"area"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
],
|
||||
"min": 1
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"admin_centre": "Admin Center",
|
||||
"label": "Label"
|
||||
},
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"place": "*"
|
||||
}
|
||||
],
|
||||
"max": 1
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"subarea": "Sub-Area"
|
||||
},
|
||||
"geometry": [
|
||||
"area",
|
||||
"relation"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"type": "boundary"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,5 +18,6 @@
|
|||
"key": "boundary",
|
||||
"value": "administrative"
|
||||
},
|
||||
"name": "Administrative Boundary"
|
||||
"name": "Administrative Boundary",
|
||||
"relationCrossReference": "{type/boundary}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,5 +15,64 @@
|
|||
"terms": [
|
||||
"exit sign"
|
||||
],
|
||||
"name": "Destination Sign"
|
||||
"name": "Destination Sign",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": true,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"from": "From"
|
||||
},
|
||||
"geometry": [
|
||||
"vertex",
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"intersection": "Intersection"
|
||||
},
|
||||
"geometry": [
|
||||
"vertex"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
],
|
||||
"max": 1
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"to": "To"
|
||||
},
|
||||
"geometry": [
|
||||
"vertex",
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "*"
|
||||
}
|
||||
],
|
||||
"min": 1,
|
||||
"max": 1
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"sign": "Physical Sign"
|
||||
},
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,5 +9,66 @@
|
|||
"tags": {
|
||||
"type": "enforcement"
|
||||
},
|
||||
"name": "Enforcement"
|
||||
"name": "Enforcement",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"device": "Device",
|
||||
"force": "Force"
|
||||
},
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "speed_camera"
|
||||
},
|
||||
{
|
||||
"man_made": "surveillance"
|
||||
},
|
||||
{
|
||||
"amenity ": "weighbridge"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"from": "From"
|
||||
},
|
||||
"geometry": [
|
||||
"vertex",
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"to": "To"
|
||||
},
|
||||
"geometry": [
|
||||
"vertex",
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"section": "Section"
|
||||
},
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,5 +19,6 @@
|
|||
"radar",
|
||||
"speed camera"
|
||||
],
|
||||
"name": "Speed Limit Enforcement"
|
||||
"name": "Speed Limit Enforcement",
|
||||
"relationCrossReference": "{type/enforcement}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@
|
|||
},
|
||||
"removeTags": {},
|
||||
"name": "Multipolygon",
|
||||
"matchScore": 0.1
|
||||
"matchScore": 0.1,
|
||||
"relationCrossReference": "{area}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,21 @@
|
|||
"key": "public_transport",
|
||||
"value": "stop_area_group"
|
||||
},
|
||||
"name": "Transit Stop Area Group"
|
||||
"name": "Transit Stop Area Group",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"matchTags": [
|
||||
{
|
||||
"type": "public_transport",
|
||||
"public_transport": "stop_area"
|
||||
}
|
||||
],
|
||||
"geometry": [
|
||||
"relation"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,5 +10,54 @@
|
|||
"tags": {
|
||||
"type": "restriction"
|
||||
},
|
||||
"name": "Restriction"
|
||||
"name": "Restriction",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": true,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"from": "From"
|
||||
},
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "*"
|
||||
}
|
||||
],
|
||||
"min": 1,
|
||||
"max": 1
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"via": "Via"
|
||||
},
|
||||
"geometry": [
|
||||
"vertex",
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
],
|
||||
"min": 1,
|
||||
"max": 1
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"to": "To"
|
||||
},
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "*"
|
||||
}
|
||||
],
|
||||
"min": 1,
|
||||
"max": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "no_left_turn"
|
||||
},
|
||||
"name": "No Left Turn"
|
||||
"name": "No Left Turn",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "no_right_turn"
|
||||
},
|
||||
"name": "No Right Turn"
|
||||
"name": "No Right Turn",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "no_straight_on"
|
||||
},
|
||||
"name": "No Straight Ahead"
|
||||
"name": "No Straight Ahead",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "no_u_turn"
|
||||
},
|
||||
"name": "No U-Turn"
|
||||
"name": "No U-Turn",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "only_left_turn"
|
||||
},
|
||||
"name": "Left Turn Only"
|
||||
"name": "Left Turn Only",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "only_right_turn"
|
||||
},
|
||||
"name": "Right Turn Only"
|
||||
"name": "Right Turn Only",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "only_straight_on"
|
||||
},
|
||||
"name": "Straight Ahead Only"
|
||||
"name": "Straight Ahead Only",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,6 @@
|
|||
"key": "restriction",
|
||||
"value": "only_u_turn"
|
||||
},
|
||||
"name": "U-Turn Only"
|
||||
"name": "U-Turn Only",
|
||||
"relationCrossReference": "{type/restriction}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,68 @@
|
|||
"tags": {
|
||||
"type": "route"
|
||||
},
|
||||
"name": "Route"
|
||||
"name": "Route",
|
||||
"relation": {
|
||||
"optionalTags": {
|
||||
"route": "$1"
|
||||
},
|
||||
"allowDuplicateMembers": true,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"stop": "Stop",
|
||||
"stop_exit_only": "Stop (Exit Only)",
|
||||
"stop_entry_only": "Stop (Entry Only)",
|
||||
"stop_on_demand": "Stop (only stops on request)",
|
||||
"stop_on_demand_exit_only": "Stop (Exit Only) (only stops on request)",
|
||||
"stop_on_demand_entry_only": "Stop (Entry Only) (only stops on request)"
|
||||
},
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"public_transport": "stop_position",
|
||||
"$1": "yes"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"platform": "Platform",
|
||||
"platform_exit_only": "Platform (Exit Only)",
|
||||
"platform_entry_only": "Platform (Entry Only)",
|
||||
"platform_on_demand": "Platform (only stops on request)",
|
||||
"platform_on_demand_exit_only": "Platform (Exit Only) (only stops on request)",
|
||||
"platform_on_demand_entry_only": "Platform (Entry Only) (only stops on request)"
|
||||
},
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex",
|
||||
"line",
|
||||
"area"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"public_transport": "platform",
|
||||
"$1": "yes"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"": "",
|
||||
"forward": "Forwards",
|
||||
"backward": "Backwards"
|
||||
},
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"matchTags": [
|
||||
{}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "aerialway"
|
||||
},
|
||||
"name": "Aerial Route"
|
||||
"name": "Aerial Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "bus"
|
||||
},
|
||||
"name": "Bus Route"
|
||||
"name": "Bus Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "ferry"
|
||||
},
|
||||
"name": "Ferry Route"
|
||||
"name": "Ferry Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "light_rail"
|
||||
},
|
||||
"name": "Light Rail Route"
|
||||
"name": "Light Rail Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "monorail"
|
||||
},
|
||||
"name": "Monorail Route"
|
||||
"name": "Monorail Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "subway"
|
||||
},
|
||||
"name": "Subway Route"
|
||||
"name": "Subway Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,5 +30,6 @@
|
|||
"key": "route",
|
||||
"value": "train"
|
||||
},
|
||||
"name": "Train Route"
|
||||
"name": "Train Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "tram"
|
||||
},
|
||||
"name": "Tram Route"
|
||||
"name": "Tram Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,5 +17,6 @@
|
|||
"key": "route",
|
||||
"value": "trolleybus"
|
||||
},
|
||||
"name": "Trolleybus Route"
|
||||
"name": "Trolleybus Route",
|
||||
"relationCrossReference": "{type/route}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,5 +19,29 @@
|
|||
"tags": {
|
||||
"type": "route_master"
|
||||
},
|
||||
"name": "Route Master"
|
||||
"name": "Route Master",
|
||||
"relation": {
|
||||
"optionalTags": {
|
||||
"route_master": "$1",
|
||||
"ref": "$2"
|
||||
},
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"": ""
|
||||
},
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"matchTags": [
|
||||
{
|
||||
"type": "route",
|
||||
"route": "$1",
|
||||
"ref": "$2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
44
data/presets/type/site/traffic_signals.json
Normal file
44
data/presets/type/site/traffic_signals.json
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"icon": "iD-relation",
|
||||
"fields": [
|
||||
"name",
|
||||
"ref"
|
||||
],
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "site",
|
||||
"site": "traffic_signals"
|
||||
},
|
||||
"name": "Traffic Signals Site",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"": ""
|
||||
},
|
||||
"matchTags": [
|
||||
{
|
||||
"highway": "traffic_signals"
|
||||
},
|
||||
{
|
||||
"highway": "crossing"
|
||||
},
|
||||
{
|
||||
"man_made": "street_cabinet"
|
||||
},
|
||||
{
|
||||
"man_made": "surveillance",
|
||||
"surveillance:type": "camera"
|
||||
}
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -15,5 +15,41 @@
|
|||
"tags": {
|
||||
"type": "waterway"
|
||||
},
|
||||
"name": "Waterway"
|
||||
"name": "Waterway",
|
||||
"relation": {
|
||||
"allowDuplicateMembers": false,
|
||||
"members": [
|
||||
{
|
||||
"roles": {
|
||||
"spring": "Spring"
|
||||
},
|
||||
"matchTags": [
|
||||
{
|
||||
"natural": "spring"
|
||||
},
|
||||
{
|
||||
"natural": "hot_spring"
|
||||
}
|
||||
],
|
||||
"geometry": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"roles": {
|
||||
"main_stream": "Main Stream",
|
||||
"": ""
|
||||
},
|
||||
"matchTags": [
|
||||
{
|
||||
"waterway": "*"
|
||||
}
|
||||
],
|
||||
"geometry": [
|
||||
"line",
|
||||
"area"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue