Skip to main content

GeometryErrorKind

Why a geometry operation refused its input: the input is not valid GeoJSON or WKT (invalid), it holds no coordinates where the operation needs some (empty), or it is a kind of shape the operation does not handle (unsupported).

This is a type alias exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { GeometryErrorKind } from "@mapcairn/core";

type GeometryErrorKind = "invalid" | "empty" | "unsupported";

Source: packages/core/src/geometry/errors.ts:14