Click or drag to resize
GeoJson Class
A static class containing helper methods to create GeoJson objects.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.GeoJsonObjectModelGeoJson

Namespace: MongoDB.Driver.GeoJsonObjectModel
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntax
public static class GeoJson

The GeoJson type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBoundingBoxTCoordinates
Creates a GeoJson bounding box.
Public methodStatic memberFeatureTCoordinates(GeoJsonGeometryTCoordinates)
Creates a GeoJson Feature object.
Public methodStatic memberFeatureTCoordinates(GeoJsonFeatureArgsTCoordinates, GeoJsonGeometryTCoordinates)
Creates a GeoJson Feature object.
Public methodStatic memberFeatureCollectionTCoordinates(GeoJsonFeatureTCoordinates)
Creates a GeoJson FeatureCollection object.
Public methodStatic memberFeatureCollectionTCoordinates(GeoJsonObjectArgsTCoordinates, GeoJsonFeatureTCoordinates)
Creates a GeoJson FeatureCollection object.
Public methodStatic memberGeographic(Double, Double)
Creates a GeoJson 2D geographic position (longitude, latitude).
Public methodStatic memberGeographic(Double, Double, Double)
Creates a GeoJson 3D geographic position (longitude, latitude, altitude).
Public methodStatic memberGeometryCollectionTCoordinates(GeoJsonGeometryTCoordinates)
Creates a GeoJson GeometryCollection object.
Public methodStatic memberGeometryCollectionTCoordinates(GeoJsonObjectArgsTCoordinates, GeoJsonGeometryTCoordinates)
Creates a GeoJson GeometryCollection object.
Public methodStatic memberLinearRingCoordinatesTCoordinates
Creates the coordinates of a GeoJson linear ring.
Public methodStatic memberLineStringTCoordinates(TCoordinates)
Creates a GeoJson LineString object.
Public methodStatic memberLineStringTCoordinates(GeoJsonObjectArgsTCoordinates, TCoordinates)
Creates a GeoJson LineString object.
Public methodStatic memberLineStringCoordinatesTCoordinates
Creates the coordinates of a GeoJson LineString.
Public methodStatic memberMultiLineStringTCoordinates(GeoJsonLineStringCoordinatesTCoordinates)
Creates a GeoJson MultiLineString object.
Public methodStatic memberMultiLineStringTCoordinates(GeoJsonObjectArgsTCoordinates, GeoJsonLineStringCoordinatesTCoordinates)
Creates a GeoJson MultiLineString object.
Public methodStatic memberMultiPointTCoordinates(TCoordinates)
Creates a GeoJson MultiPoint object.
Public methodStatic memberMultiPointTCoordinates(GeoJsonObjectArgsTCoordinates, TCoordinates)
Creates a GeoJson MultiPoint object.
Public methodStatic memberMultiPolygonTCoordinates(GeoJsonPolygonCoordinatesTCoordinates)
Creates a GeoJson MultiPolygon object.
Public methodStatic memberMultiPolygonTCoordinates(GeoJsonObjectArgsTCoordinates, GeoJsonPolygonCoordinatesTCoordinates)
Creates a GeoJson MultiPolygon object.
Public methodStatic memberPointTCoordinates(TCoordinates)
Creates a GeoJson Point object.
Public methodStatic memberPointTCoordinates(GeoJsonObjectArgsTCoordinates, TCoordinates)
Creates a GeoJson Point object.
Public methodStatic memberPolygonTCoordinates(TCoordinates)
Creates a GeoJson Polygon object.
Public methodStatic memberPolygonTCoordinates(GeoJsonPolygonCoordinatesTCoordinates)
Creates a GeoJson Polygon object.
Public methodStatic memberPolygonTCoordinates(GeoJsonObjectArgsTCoordinates, GeoJsonPolygonCoordinatesTCoordinates)
Creates a GeoJson Polygon object.
Public methodStatic memberPolygonTCoordinates(GeoJsonObjectArgsTCoordinates, TCoordinates)
Creates a GeoJson Polygon object.
Public methodStatic memberPolygonCoordinatesTCoordinates(TCoordinates)
Creates the coordinates of a GeoJson Polygon object.
Public methodStatic memberPolygonCoordinatesTCoordinates(GeoJsonLinearRingCoordinatesTCoordinates, GeoJsonLinearRingCoordinatesTCoordinates)
Creates the coordinates of a GeoJson Polygon object.
Public methodStatic memberPosition(Double, Double)
Creates a GeoJson 2D position (x, y).
Public methodStatic memberPosition(Double, Double, Double)
Creates a GeoJson 3D position (x, y, z).
Public methodStatic memberProjected(Double, Double)
Creates a GeoJson 2D projected position (easting, northing).
Public methodStatic memberProjected(Double, Double, Double)
Creates a GeoJson 3D projected position (easting, northing, altitude).
Top
See Also