data module

Classes

BoundingBox

A GeoJSON BoundingBox object - an array that defines a shape whose edges follow lines of constant longitude, latitude, and elevation. All axes of the most southwesterly point are followed by all axes of the more northeasterly point. The axes order of the BoundingBox follows the axes order of geometries. The full description is detailed in RFC 7946.

Feature

A GeoJSON Feature object - a JSON object representing a spatially bounded entity. The full description is detailed in RFC 7946.

FeatureCollection

A GeoJSON FeatureCollection object - a JSON object that contains a collection of GeoJSON features. The full description is detailed in RFC 7946.

GeometryCollection

A GeoJSON GeometryCollection object - a JSON object that contains a collection of a GeoJSON Geometry objects. The full description is detailed in RFC 7946.

LineString

A GeoJSON LineString object - a JSON object that represents a geographic curve. The full description is detailed in RFC 7946.

MercatorPoint

A MercatorPoint object represents a projected three dimensional position. MercatorPoint uses the web mercator projection (EPSG:3857) with slightly different units:

  • the size of 1 unit is the width of the projected world instead of the "mercator meter"
  • the origin of the coordinate space is at the north-west corner instead of the middle.

For example, MercatorPoint(0, 0, 0) is the north-west corner of the mercator world and MercatorPoint(1, 1, 0) is the south-east corner. If you are familiar with vector tiles it may be helpful to think of the coordinate space as the 0/0/0 tile with an extent of 1.

The z dimension of MercatorPoint is conformal. A cube in the mercator coordinate space would be rendered as a cube.

MultiLineString

A GeoJSON MultiLineString object - a JSON object that represents multiple geographic curves. The full description is detailed in RFC 7946.

MultiPoint

A GeoJSON MultiPoint object - a JSON object that represents multiple geographic positions. The full description is detailed in RFC 7946.

MultiPolygon

A GeoJSON MultiPolygon object - a JSON object that represents multiple geographic polygons. The full description is detailed in RFC 7946.

Point

A GeoJSON Point object - a JSON object that represents a geographic position. The full description is detailed in RFC 7946.

Polygon

A GeoJSON Polygon object - a JSON object that represents a geographic polygon. The full description is detailed in RFC 7946.

Position

A GeoJSON Position object - an array that specifies the longitude and latitude of a location. The full description is detailed in RFC 7946.

Type Aliases

Geometry

A base Geometry object in which all geometry shapes extend; Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, GeometryCollection