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
10 lines (9 loc) • 380 B
TypeScript
import { OsmObject } from "./osm-object.js";
import type { RefElements } from "./ref-elements.js";
import type { Feature, GeometryObject } from "geojson";
export declare class Output extends OsmObject {
private geometry;
constructor(type: string, id: string, refElems: RefElements);
setGeometry(geometry: GeometryObject): void;
toFeature(): Feature | undefined;
}