C# Class SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.GeoJsonReader

Mostra file Open project: s-innovations/azure-table-storage-repository-pattern Class Usage Examples

Public Methods

Method Description
GeoJsonReader ( IShapeConverter shapeConverter ) : System
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object

Protected Methods

Method Description
TryRead ( Newtonsoft.Json.Linq.JObject json, object &result ) : bool

Private Methods

Method Description
SantizeJObjects ( object obj ) : object
TryParseCoordinate ( Newtonsoft.Json.Linq.JArray coordinates, CoordinateInfo &result ) : bool
TryParseCoordinateArray ( Newtonsoft.Json.Linq.JArray coordinates, CoordinateInfo &result ) : bool
TryParseCoordinateArrayArray ( Newtonsoft.Json.Linq.JArray coordinates, CoordinateInfo &result ) : bool
TryParseCoordinateArrayArrayArray ( Newtonsoft.Json.Linq.JArray coordinates, CoordinateInfo &result ) : bool
TryParseFeature ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseFeatureCollection ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseGeometry ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseGeometryCollection ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseLineString ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseMultiLineString ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseMultiPoint ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseMultiPolygon ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParsePoint ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParsePolygon ( Newtonsoft.Json.Linq.JObject obj, object &result ) : bool
TryParseTypeString ( Newtonsoft.Json.Linq.JObject obj, string &result ) : bool

Method Details

GeoJsonReader() public method

public GeoJsonReader ( IShapeConverter shapeConverter ) : System
shapeConverter IShapeConverter
return System

ReadJson() public method

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
return object

TryRead() protected method

protected TryRead ( Newtonsoft.Json.Linq.JObject json, object &result ) : bool
json Newtonsoft.Json.Linq.JObject
result object
return bool