GeoJsonExtensions Class

Definition

Defines extension methods for various JSON.NET types that make it easier to recognize and read Geo-JSON.

public static class GeoJsonExtensions
type GeoJsonExtensions = class
Public Module GeoJsonExtensions
Inheritance
GeoJsonExtensions

Methods

IsGeoJsonPoint(JObject)

Determines whether the given JObject is a valid Geo-JSON point.

ReadGeoJsonPoint(JsonReader)

Reads a Geo-JSON point into a GeographyPoint instance, or throws JsonSerializationException if the reader is not positioned on the beginning of a valid Geo-JSON point.

WriteGeoJsonPoint(JsonWriter, GeographyPoint)

Writes a GeographyPoint instance as Geo-JSON format.

Applies to