osm2geojson-lite
Version:
a lightweight yet faster osm (either in xml or in json formats) to geojson convertor - 4x faster than xmldom + osmtogeojson in most situations - implemented in pure JavaScript without any 3rd party dependency
84 lines • 1.23 kB
JSON
{
"building": {},
"highway": {
"whitelist": [
"services",
"rest_area",
"escape",
"elevator"
]
},
"natural": {
"blacklist": [
"coastline",
"cliff",
"ridge",
"arete",
"tree_row"
]
},
"landuse": {},
"waterway": {
"whitelist": [
"riverbank",
"dock",
"boatyard",
"dam"
]
},
"amenity": {},
"leisure": {},
"barrier": {
"whitelist": [
"city_wall",
"ditch",
"hedge",
"retaining_wall",
"wall",
"spikes"
]
},
"railway": {
"whitelist": [
"station",
"turntable",
"roundhouse",
"platform"
]
},
"area": {},
"boundary": {},
"man_made": {
"blacklist": [
"cutline",
"embankment",
"pipeline"
]
},
"power": {
"whitelist": [
"plant",
"substation",
"generator",
"transformer"
]
},
"place": {},
"shop": {},
"aeroway": {
"blacklist": [
"taxiway"
]
},
"tourism": {},
"historic": {},
"public_transport": {},
"office": {},
"building:part": {},
"military": {},
"ruins": {},
"area:highway": {},
"craft": {},
"golf": {},
"indoor": {}
}