Class GeoJson

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

Namespace

MongoDB.Driver.GeoJsonObjectModel

Assembly

MongoDB.Driver.dll

A static class containing helper methods to create GeoJson objects.

public static class GeoJson

Inheritance

GeoJson

Inherited Members

Methods

BoundingBox(TCoordinates, TCoordinates)

Creates a GeoJson bounding box.

FeatureCollection(params GeoJsonFeature[])

Creates a GeoJson FeatureCollection object.

FeatureCollection(GeoJsonObjectArgs, params GeoJsonFeature[])

Creates a GeoJson FeatureCollection object.

Feature(GeoJsonFeatureArgs, GeoJsonGeometry)

Creates a GeoJson Feature object.

Feature(GeoJsonGeometry)

Creates a GeoJson Feature object.

Geographic(double, double)

Creates a GeoJson 2D geographic position (longitude, latitude).

Geographic(double, double, double)

Creates a GeoJson 3D geographic position (longitude, latitude, altitude).

GeometryCollection(params GeoJsonGeometry[])

Creates a GeoJson GeometryCollection object.

GeometryCollection(GeoJsonObjectArgs, params GeoJsonGeometry[])

Creates a GeoJson GeometryCollection object.

LineStringCoordinates(params TCoordinates[])

Creates the coordinates of a GeoJson LineString.

LineString(GeoJsonObjectArgs, params TCoordinates[])

Creates a GeoJson LineString object.

LineString(params TCoordinates[])

Creates a GeoJson LineString object.

LinearRingCoordinates(params TCoordinates[])

Creates the coordinates of a GeoJson linear ring.

MultiLineString(params GeoJsonLineStringCoordinates[])

Creates a GeoJson MultiLineString object.

MultiLineString(GeoJsonObjectArgs, params GeoJsonLineStringCoordinates[])

Creates a GeoJson MultiLineString object.

MultiPoint(GeoJsonObjectArgs, params TCoordinates[])

Creates a GeoJson MultiPoint object.

MultiPoint(params TCoordinates[])

Creates a GeoJson MultiPoint object.

MultiPolygon(GeoJsonObjectArgs, params GeoJsonPolygonCoordinates[])

Creates a GeoJson MultiPolygon object.

MultiPolygon(params GeoJsonPolygonCoordinates[])

Creates a GeoJson MultiPolygon object.

Point(GeoJsonObjectArgs, TCoordinates)

Creates a GeoJson Point object.

Point(TCoordinates)

Creates a GeoJson Point object.

PolygonCoordinates(GeoJsonLinearRingCoordinates, params GeoJsonLinearRingCoordinates[])

Creates the coordinates of a GeoJson Polygon object.

PolygonCoordinates(params TCoordinates[])

Creates the coordinates of a GeoJson Polygon object.

Polygon(GeoJsonObjectArgs, GeoJsonPolygonCoordinates)

Creates a GeoJson Polygon object.

Polygon(GeoJsonObjectArgs, params TCoordinates[])

Creates a GeoJson Polygon object.

Polygon(GeoJsonPolygonCoordinates)

Creates a GeoJson Polygon object.

Polygon(params TCoordinates[])

Creates a GeoJson Polygon object.

Position(double, double)

Creates a GeoJson 2D position (x, y).

Position(double, double, double)

Creates a GeoJson 3D position (x, y, z).

Projected(double, double)

Creates a GeoJson 2D projected position (easting, northing).

Projected(double, double, double)

Creates a GeoJson 3D projected position (easting, northing, altitude).