Class GeoJsonObject<TCoordinates>
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
Represents a GeoJson object (see subclasses).
[BsonSerializer(typeof(GeoJsonObjectSerializer<>))]
public abstract class GeoJsonObject<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
The type of the coordinates.
- Inheritance
-
GeoJsonObject<TCoordinates>
- Derived
- Inherited Members
Constructors
GeoJsonObject(GeoJsonObjectArgs<TCoordinates>)
Initializes a new instance of the GeoJsonObject<TCoordinates> class.
protected GeoJsonObject(GeoJsonObjectArgs<TCoordinates> args)
Parameters
args
GeoJsonObjectArgs<TCoordinates>The additional args.
Properties
BoundingBox
Gets the bounding box.
public GeoJsonBoundingBox<TCoordinates> BoundingBox { get; }
Property Value
- GeoJsonBoundingBox<TCoordinates>
CoordinateReferenceSystem
Gets the coordinate reference system.
public GeoJsonCoordinateReferenceSystem CoordinateReferenceSystem { get; }
Property Value
ExtraMembers
Gets the extra members.
public BsonDocument ExtraMembers { get; }
Property Value
Type
Gets the type of the GeoJson object.
public abstract GeoJsonObjectType Type { get; }