Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mongo/src/types/geojson.ts

MongoDB driver for Deno
Extremely Popular
Latest
import * as mongo from "https://deno.land/x/mongo@v0.33.0/src/types/geojson.ts";

Interfaces

A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2

A collection of feature objects. https://tools.ietf.org/html/rfc7946#section-3.3

The base GeoJSON object. https://tools.ietf.org/html/rfc7946#section-3 The GeoJSON specification also allows foreign members (https://tools.ietf.org/html/rfc7946#section-6.1) Developers should use "&" type in TypeScript or extend the interface to add these foreign members.

MultiLineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.5

Type Aliases

Union of GeoJSON objects.

The valid values for the "type" property of GeoJSON geometry objects. https://tools.ietf.org/html/rfc7946#section-1.4

The value values for the "type" property of GeoJSON Objects. https://tools.ietf.org/html/rfc7946#section-1.4

A Position is an array of coordinates. https://tools.ietf.org/html/rfc7946#section-3.1.1 Array should contain between two and three elements. The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), but the current specification only allows X, Y, and (optionally) Z to be defined.