Skip to main content

UnsupportedSridError

The error for text in a spatial reference system other than SUPPORTED_WKT_SRID. It is an unsupported GeometryError that also says which SRID, so a caller can tell it from the other things the reader leaves out (a measure, a curve).

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

Signature​

import { UnsupportedSridError } from "@mapcairn/core";

class UnsupportedSridError extends GeometryError

Constructors​

(constructor)​

constructor(srid: number);

Constructs a new instance of the UnsupportedSridError class

  • srid (number)

Properties​

srid​

readonly srid: number;

The SRID the text named.

See also​

Source: packages/core/src/geometry/wkt.ts:125