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

x/mongo/src/types/geojson.ts>Feature

MongoDB driver for Deno
Extremely Popular
Go to Latest
interface Feature
implements GeoJsonObject
import { type Feature } from "https://deno.land/x/mongo@v0.31.1/src/types/geojson.ts";

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

Type Parameters

optional
G extends Geometry | null = Geometry
optional
P = GeoJsonProperties

Properties

type: "Feature"
geometry: G

The feature's geometry

optional
id: string | number | undefined

A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2.

properties: P

Properties associated with this feature.