mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 01:33:03 +00:00
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454 This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it much more readable, which is nice for debugging. This does not affect the minified bundle size.
169 lines
5.2 KiB
JSON
169 lines
5.2 KiB
JSON
{
|
|
"categories": {
|
|
"category-barrier": {
|
|
"geometry": "line",
|
|
"name": "Barrier Features",
|
|
"icon": "roadblock",
|
|
"members": [
|
|
"barrier/fence",
|
|
"barrier/wall",
|
|
"barrier/ditch",
|
|
"barrier/gate",
|
|
"barrier"
|
|
]
|
|
},
|
|
"category-building": {
|
|
"geometry": "area",
|
|
"name": "Building Features",
|
|
"icon": "building",
|
|
"members": [
|
|
"building",
|
|
"building/house",
|
|
"building/apartments",
|
|
"building/commercial",
|
|
"building/industrial",
|
|
"building/residential"
|
|
]
|
|
},
|
|
"category-golf": {
|
|
"geometry": "area",
|
|
"name": "Golf Features",
|
|
"icon": "golf",
|
|
"members": [
|
|
"golf/fairway",
|
|
"golf/green",
|
|
"golf/lateral_water_hazard_area",
|
|
"golf/rough",
|
|
"golf/bunker",
|
|
"golf/tee",
|
|
"golf/water_hazard_area"
|
|
]
|
|
},
|
|
"category-landuse": {
|
|
"geometry": "area",
|
|
"name": "Land Use Features",
|
|
"icon": "land-use",
|
|
"members": [
|
|
"landuse/residential",
|
|
"landuse/industrial",
|
|
"landuse/commercial",
|
|
"landuse/retail",
|
|
"landuse/farmland",
|
|
"landuse/farmyard",
|
|
"landuse/forest",
|
|
"landuse/meadow",
|
|
"landuse/cemetery",
|
|
"landuse/military"
|
|
]
|
|
},
|
|
"category-path": {
|
|
"geometry": "line",
|
|
"name": "Path Features",
|
|
"icon": "category-path",
|
|
"members": [
|
|
"highway/pedestrian",
|
|
"footway/crosswalk",
|
|
"footway/sidewalk",
|
|
"highway/footway",
|
|
"highway/cycleway",
|
|
"highway/bridleway",
|
|
"highway/path",
|
|
"highway/steps"
|
|
]
|
|
},
|
|
"category-rail": {
|
|
"geometry": "line",
|
|
"name": "Rail Features",
|
|
"icon": "category-rail",
|
|
"members": [
|
|
"railway/rail",
|
|
"railway/subway",
|
|
"railway/tram",
|
|
"railway/monorail",
|
|
"railway/disused",
|
|
"railway/abandoned"
|
|
]
|
|
},
|
|
"category-restriction": {
|
|
"geometry": "relation",
|
|
"name": "Restriction Features",
|
|
"icon": "restriction",
|
|
"members": [
|
|
"type/restriction/no_left_turn",
|
|
"type/restriction/no_right_turn",
|
|
"type/restriction/no_straight_on",
|
|
"type/restriction/no_u_turn",
|
|
"type/restriction/only_left_turn",
|
|
"type/restriction/only_right_turn",
|
|
"type/restriction/only_straight_on",
|
|
"type/restriction"
|
|
]
|
|
},
|
|
"category-road": {
|
|
"geometry": "line",
|
|
"name": "Road Features",
|
|
"icon": "category-roads",
|
|
"members": [
|
|
"highway/residential",
|
|
"highway/motorway",
|
|
"highway/trunk",
|
|
"highway/primary",
|
|
"highway/secondary",
|
|
"highway/tertiary",
|
|
"highway/service",
|
|
"highway/motorway_link",
|
|
"highway/trunk_link",
|
|
"highway/primary_link",
|
|
"highway/secondary_link",
|
|
"highway/tertiary_link",
|
|
"highway/unclassified",
|
|
"highway/track",
|
|
"highway/road"
|
|
]
|
|
},
|
|
"category-route": {
|
|
"geometry": "relation",
|
|
"name": "Route Features",
|
|
"icon": "route",
|
|
"members": [
|
|
"type/route/road",
|
|
"type/route/bicycle",
|
|
"type/route/foot",
|
|
"type/route/hiking",
|
|
"type/route/horse",
|
|
"type/route/bus",
|
|
"type/route/train",
|
|
"type/route/tram",
|
|
"type/route/ferry",
|
|
"type/route/power",
|
|
"type/route/pipeline",
|
|
"type/route/detour",
|
|
"type/route_master",
|
|
"type/route"
|
|
]
|
|
},
|
|
"category-water-area": {
|
|
"geometry": "area",
|
|
"name": "Water Features",
|
|
"icon": "water",
|
|
"members": [
|
|
"natural/water/lake",
|
|
"natural/water/pond",
|
|
"natural/water/reservoir",
|
|
"natural/water"
|
|
]
|
|
},
|
|
"category-water-line": {
|
|
"geometry": "line",
|
|
"name": "Water Features",
|
|
"icon": "category-water",
|
|
"members": [
|
|
"waterway/river",
|
|
"waterway/stream",
|
|
"waterway/canal",
|
|
"waterway/ditch",
|
|
"waterway/drain"
|
|
]
|
|
}
|
|
}
|
|
} |