/** * Area detection for OSM ways. * * Implements the OSM wiki heuristics for determining whether a closed way * should be rendered as an area (polygon) or a closed linear feature. * * @see https://wiki.openstreetmap.org/wiki/Key:area * @see https://wiki.openstreetmap.org/wiki/Overpass_turbo/Polygon_Features * * @module */ import type { OsmWay } from "./types.ts"; /** * Determine if a way is an area based on its tags and nodes. * * This function implements the logic described in the OSM wiki: * https://wiki.openstreetmap.org/wiki/Key:area * https://wiki.openstreetmap.org/wiki/Overpass_turbo/Polygon_Features * * @param way - The way to check. * @returns `true` if the way is an area, `false` otherwise. */ export declare function wayIsArea(way?: OsmWay): boolean; //# sourceMappingURL=way-is-area.d.ts.map