Add object_types to some tags.
The newest taginfo understand an `object_types` field to restrict the key/value to certain types of OSM objects.
This commit is contained in:
parent
9ccd0f0282
commit
a75b2df6fe
29
taginfo.json
29
taginfo.json
@ -12,19 +12,22 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "highway",
|
"key": "highway",
|
||||||
"description": "Type of road."
|
"description": "Type of road.",
|
||||||
|
"object_types": [ "way" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "service",
|
"key": "service",
|
||||||
"value": "parking_aisle",
|
"value": "parking_aisle",
|
||||||
"description": ""
|
"object_types": [ "way" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "oneway"
|
"key": "oneway",
|
||||||
|
"object_types": [ "way" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "area",
|
"key": "area",
|
||||||
"value": "yes",
|
"value": "yes",
|
||||||
|
"object_types": [ "way" ],
|
||||||
"description": "Roads with area=yes are ignored by default."
|
"description": "Roads with area=yes are ignored by default."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -36,38 +39,46 @@
|
|||||||
"description": "This is used by HOT."
|
"description": "This is used by HOT."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "access"
|
"key": "access",
|
||||||
|
"object_types": [ "way" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "barrier"
|
"key": "barrier"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "maxspeed"
|
"key": "maxspeed",
|
||||||
|
"object_types": [ "way" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "maxspeed:forward"
|
"key": "maxspeed:forward",
|
||||||
|
"object_types": [ "way" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "maxspeed:backward"
|
"key": "maxspeed:backward",
|
||||||
|
"object_types": [ "way" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "duration"
|
"key": "duration"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "name",
|
"key": "name",
|
||||||
|
"object_types": [ "way" ],
|
||||||
"description": "Name of road for navigation instructions."
|
"description": "Name of road for navigation instructions."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "ref",
|
"key": "ref",
|
||||||
|
"object_types": [ "way" ],
|
||||||
"description": "Ref of road for navigation instructions, overrides name."
|
"description": "Ref of road for navigation instructions, overrides name."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "junction",
|
"key": "junction",
|
||||||
|
"object_types": [ "way" ],
|
||||||
"value": "roundabout"
|
"value": "roundabout"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "type",
|
"key": "type",
|
||||||
"value": "restriction"
|
"value": "restriction",
|
||||||
|
"object_types": [ "relation" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user