osm2geojson-ultra
Version:
a faster & more complete OSM & Overpass (either in xml or in json formats) to geojson convertor - 4x faster than xmldom + osmtogeojson in most situations - implemented in TypeScript with txml for XML parsing
64 lines (63 loc) • 1.17 kB
JSON
{
"building": {
"ignore": ["no"]
},
"highway": {
"include": ["services", "rest_area", "escape", "elevator"]
},
"natural": {
"exclude": ["coastline", "cliff", "ridge", "arete", "tree_row"]
},
"landuse": {},
"waterway": {
"include": ["riverbank", "dock", "boatyard", "dam"]
},
"amenity": {},
"leisure": {},
"barrier": {
"include": [
"city_wall",
"ditch",
"hedge",
"retaining_wall",
"wall",
"spikes"
]
},
"railway": {
"include": ["station", "turntable", "roundhouse", "platform"]
},
"boundary": {},
"man_made": {
"exclude": ["cutline", "embankment", "pipeline"]
},
"power": {
"include": ["plant", "substation", "generator", "transformer"]
},
"piste:type": {
"include": ["downhill"]
},
"place": {},
"shop": {},
"aeroway": {
"exclude": ["taxiway"]
},
"tourism": {},
"historic": {},
"public_transport": {},
"office": {},
"building:part": {
"ignore": ["no"]
},
"military": {},
"ruins": {},
"area:highway": {},
"craft": {},
"golf": {},
"indoor": {
"ignore": ["yes", "no"]
},
"area": {
"exclude": ["no"]
}
}