Skip to main content

GeoObjectLiteral

The base GeoJSON object.

The GeoJSON specification also allows foreign members (https://tools.ietf.org/html/rfc7946#section-6.1) to be included in the object.

Title

Geo Object

See

GeoJSON Object

Extended by

Properties

bbox?

optional bbox: BBox2DLiteral | BBox3DLiteral;

A bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections.

This is useful when defining the extent of a GeoJSON object, i.e. the minimum and maximum coordinates of the object's Geometries, Features, or Feature Collections.

@TJS-type array @TJS-items.type number

See

GeoJSON Bounding Boxes


crs?

optional crs: object;

Coordinate reference system for GeoJSON objects.

properties

properties: object;

properties.name

properties.name: string;

The name of the coordinate reference system.

Default
"EPSG:4326"

type

type: "name";

Title

Coordinate Reference System

See

Coordinate Reference Systems


id?

optional id: null | string | number;

A unique identifier for the feature, such as a UUID, a serial number, or a name.


type

type: GeometryType;

Specifies the type of GeoJSON object.