Class GeoJsonFeature

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.GeoJsonObjectModel

Assembly

MongoDB.Driver.dll

Represents a GeoJson Feature object.

[BsonSerializer(typeof(GeoJsonFeatureSerializer<>))]
public class GeoJsonFeature<TCoordinates> : GeoJsonObject<TCoordinates> where TCoordinates : GeoJsonCoordinates

Type Parameters

TCoordinates

The type of the coordinates.

Inheritance

GeoJsonFeature

Inherited Members

Constructors

GeoJsonFeature(GeoJsonFeatureArgs, GeoJsonGeometry)

Initializes a new instance of the GeoJsonFeature class.

GeoJsonFeature(GeoJsonGeometry)

Initializes a new instance of the GeoJsonFeature class.

Properties

Geometry

Gets the geometry.

Id

Gets the id.

Properties

Gets the properties.

Type

Gets the type of the GeoJson object.