Skip to content

Interface: FeatureCollection ​

Defined in: types.ts:94

A set of features — the usual top-level GeoJSON document.

Properties ​

features ​

ts
features: Feature[];

Defined in: types.ts:98

The features.


type ​

ts
type: "FeatureCollection";

Defined in: types.ts:96

Discriminant.


wkt? ​

ts
optional wkt?: string;

Defined in: types.ts:105

Contents of the source .prj, when one was present.

Not part of RFC 7946 — GeoJSON is defined as WGS 84 — but dropping it would lose the only record of how the coordinates are actually projected.

Released under the MIT License.