Skip to content

< Back


ReverseGeocodingCloudClient

Namespace: ThinkGeo.Core

A class provides the methods to access the ReverseGeocoding APIs.

public class ReverseGeocodingCloudClient : CloudClient, System.IDisposable

Inheritance ObjectCloudClientReverseGeocodingCloudClient
Implements IDisposable

Remarks:

A class provides the methods to access the ReverseGeocoding APIs.

Properties

TimeoutInSeconds

The request timeout, default 100 seconds

public int TimeoutInSeconds { get; set; }

Property Value

Int32

WebProxy

The proxy used for requesting a Web Response.

public IWebProxy WebProxy { get; set; }

Property Value

IWebProxy

ClientId

A GIS Server NativeConfidential client ID.

public string ClientId { get; set; }

Property Value

String

ClientSecret

A GIS Server NativeConfidential client secret.

public string ClientSecret { get; set; }

Property Value

String

BaseUris

Candidate Gis Server Uris. This collection must have one uri at least before sending any request.

public Collection<Uri> BaseUris { get; }

Property Value

Collection<Uri>

Constructors

ReverseGeocodingCloudClient()

Initilizes an instance. You need apply client Id and secret by properties.

public ReverseGeocodingCloudClient()

ReverseGeocodingCloudClient(String, String)

Initializes an instance with ClientID and ClientSecret. It will send a request to GIS Server to gain the token which will be added to the Header for all the requests.

public ReverseGeocodingCloudClient(string clientId, string clientSecret)

Parameters

clientId String
The ClientID for the auth.

clientSecret String
The ClientSecret for the auth.

Exceptions

ArgumentNullException
Thrown when the or is null.

Methods

SearchPointInDecimalDegree(Double, Double, Double, DistanceUnit)

Searches for locations around a point.

public CloudReverseGeocodingResult SearchPointInDecimalDegree(double latitude, double longitude, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

latitude Double
The latitude of the point.

longitude Double
The longitude of the point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

CloudReverseGeocodingResult
The search result.

SearchPointInDecimalDegree(Double, Double, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations around a point.

public CloudReverseGeocodingResult SearchPointInDecimalDegree(double latitude, double longitude, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

latitude Double
The latitude of the point.

longitude Double
The longitude of the point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

SearchPoint(Double, Double, Int32, Double, DistanceUnit)

Searches for locations around a point.

public CloudReverseGeocodingResult SearchPoint(double x, double y, int pointProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInSrid Int32
The SRID (spatial reference system ID) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

CloudReverseGeocodingResult
The search result.

SearchPoint(Double, Double, Int32, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations around a point.

public CloudReverseGeocodingResult SearchPoint(double x, double y, int pointProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInSrid Int32
The SRID (spatial reference system ID) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

SearchPoint(Double, Double, String, Double, DistanceUnit)

Searches for locations around a point.

public CloudReverseGeocodingResult SearchPoint(double x, double y, string pointProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInProj4String String
The proj4string (coordinate system) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

CloudReverseGeocodingResult
The search result.

SearchPoint(Double, Double, String, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations around a point.

public CloudReverseGeocodingResult SearchPoint(double x, double y, string pointProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInProj4String String
The proj4string (coordinate system) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

SearchPointInDecimalDegreeAsync(Double, Double, Double, DistanceUnit)

Searches for locations around a point.

public Task<CloudReverseGeocodingResult> SearchPointInDecimalDegreeAsync(double latitude, double longitude, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

latitude Double
The latitude of the point.

longitude Double
The longitude of the point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchPointInDecimalDegreeAsync(Double, Double, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations around a point.

public Task<CloudReverseGeocodingResult> SearchPointInDecimalDegreeAsync(double latitude, double longitude, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

latitude Double
The latitude of the point.

longitude Double
The longitude of the point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchPointAsync(Double, Double, Int32, Double, DistanceUnit)

Searches for locations around a point.

public Task<CloudReverseGeocodingResult> SearchPointAsync(double x, double y, int pointProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInSrid Int32
The SRID (spatial reference system ID) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchPointAsync(Double, Double, Int32, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations around a point.

public Task<CloudReverseGeocodingResult> SearchPointAsync(double x, double y, int pointProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInSrid Int32
The SRID (spatial reference system ID) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchPointAsync(Double, Double, String, Double, DistanceUnit)

Searches for locations around a point.

public Task<CloudReverseGeocodingResult> SearchPointAsync(double x, double y, string pointProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInProj4String String
The proj4string (coordinate system) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchPointAsync(Double, Double, String, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations around a point.

public Task<CloudReverseGeocodingResult> SearchPointAsync(double x, double y, string pointProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.

pointProjectionInProj4String String
The proj4string (coordinate system) of point.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchPointsInDecimalDegree(IEnumerable<PointShape>, Double, DistanceUnit)

Searches the locations for points.

public Collection<CloudReverseGeocodingResult> SearchPointsInDecimalDegree(IEnumerable<PointShape> points, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

points IEnumerable<PointShape>
The points to search.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Collection<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPointsInDecimalDegree(IEnumerable<PointShape>, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches the locations for points.

public Collection<CloudReverseGeocodingResult> SearchPointsInDecimalDegree(IEnumerable<PointShape> points, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

points IEnumerable<PointShape>
The points to search.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Collection<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPoints(IEnumerable<PointShape>, Int32, Double, DistanceUnit)

Searches the locations for points.

public Collection<CloudReverseGeocodingResult> SearchPoints(IEnumerable<PointShape> points, int pointsProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInSrid Int32
The SRID (spatial reference system ID) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Collection<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPoints(IEnumerable<PointShape>, Int32, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches the locations for points.

public Collection<CloudReverseGeocodingResult> SearchPoints(IEnumerable<PointShape> points, int pointsProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInSrid Int32
The SRID (spatial reference system ID) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Collection<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPoints(IEnumerable<PointShape>, String, Double, DistanceUnit)

Searches the locations for points.

public Collection<CloudReverseGeocodingResult> SearchPoints(IEnumerable<PointShape> points, string pointsProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInProj4String String
The proj4string (coordinate system) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Collection<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPoints(IEnumerable<PointShape>, String, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches the locations for points.

public Collection<CloudReverseGeocodingResult> SearchPoints(IEnumerable<PointShape> points, string pointsProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInProj4String String
The proj4string (coordinate system) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Collection<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPointsInDecimalDegreeAsync(IEnumerable<PointShape>, Double, DistanceUnit)

Searches the locations for points.

public Task<Collection<CloudReverseGeocodingResult>> SearchPointsInDecimalDegreeAsync(IEnumerable<PointShape> points, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

points IEnumerable<PointShape>
The points to search.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Task<Collection<CloudReverseGeocodingResult>>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPointsInDecimalDegreeAsync(IEnumerable<PointShape>, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches the locations for points.

public Task<Collection<CloudReverseGeocodingResult>> SearchPointsInDecimalDegreeAsync(IEnumerable<PointShape> points, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

points IEnumerable<PointShape>
The points to search.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<Collection<CloudReverseGeocodingResult>>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPointsAsync(IEnumerable<PointShape>, Int32, Double, DistanceUnit)

Searches the locations for points.

public Task<Collection<CloudReverseGeocodingResult>> SearchPointsAsync(IEnumerable<PointShape> points, int pointsProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInSrid Int32
The SRID (spatial reference system ID) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Task<Collection<CloudReverseGeocodingResult>>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPointsAsync(IEnumerable<PointShape>, Int32, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches the locations for points.

public Task<Collection<CloudReverseGeocodingResult>> SearchPointsAsync(IEnumerable<PointShape> points, int pointsProjectionInSrid, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInSrid Int32
The SRID (spatial reference system ID) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<Collection<CloudReverseGeocodingResult>>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPointsAsync(IEnumerable<PointShape>, String, Double, DistanceUnit)

Searches the locations for points.

public Task<Collection<CloudReverseGeocodingResult>> SearchPointsAsync(IEnumerable<PointShape> points, string pointsProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInProj4String String
The proj4string (coordinate system) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

Returns

Task<Collection<CloudReverseGeocodingResult>>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchPointsAsync(IEnumerable<PointShape>, String, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches the locations for points.

public Task<Collection<CloudReverseGeocodingResult>> SearchPointsAsync(IEnumerable<PointShape> points, string pointsProjectionInProj4String, double searchRadius, DistanceUnit unitOfsearchRadius, CloudReverseGeocodingOptions options)

Parameters

points IEnumerable<PointShape>
The points to search.

pointsProjectionInProj4String String
The proj4string (coordinate system) in which to express the result.

searchRadius Double
The maximum radius around the input coordinate to search for places.

unitOfsearchRadius DistanceUnit
The unit of measure in which the SearchRadius is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<Collection<CloudReverseGeocodingResult>>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchLineInDecimalDegree(LineShape, Double, DistanceUnit)

Searches for locations along a line.

public CloudReverseGeocodingResult SearchLineInDecimalDegree(LineShape line, double searchBuffer, DistanceUnit unitOfsearchBuffer)

Parameters

line LineShape
The line feature to search.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

Returns

CloudReverseGeocodingResult
The search result.

SearchLineInDecimalDegree(LineShape, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations along a line.

public CloudReverseGeocodingResult SearchLineInDecimalDegree(LineShape line, double searchBuffer, DistanceUnit unitOfsearchBuffer, CloudReverseGeocodingOptions options)

Parameters

line LineShape
The line feature to search.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

SearchLine(LineShape, Int32, Double, DistanceUnit)

Searches for locations along a line.

public CloudReverseGeocodingResult SearchLine(LineShape line, int lineProjectionInSrid, double searchBuffer, DistanceUnit unitOfsearchBuffer)

Parameters

line LineShape
The line feature to search.

lineProjectionInSrid Int32
The SRID (spatial reference system ID) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

Returns

CloudReverseGeocodingResult
The search result.

SearchLine(LineShape, Int32, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations along a line.

public CloudReverseGeocodingResult SearchLine(LineShape line, int lineProjectionInSrid, double searchBuffer, DistanceUnit unitOfsearchBuffer, CloudReverseGeocodingOptions options)

Parameters

line LineShape
The line feature to search.

lineProjectionInSrid Int32
The SRID (spatial reference system ID) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

SearchLine(LineShape, String, Double, DistanceUnit)

Searches for locations along a line.

public CloudReverseGeocodingResult SearchLine(LineShape line, string lineProjectionInProj4String, double searchBuffer, DistanceUnit unitOfsearchBuffer)

Parameters

line LineShape
The line feature to search.

lineProjectionInProj4String String
The proj4string (coordinate system) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

Returns

CloudReverseGeocodingResult
The search result.

SearchLine(LineShape, String, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations along a line.

public CloudReverseGeocodingResult SearchLine(LineShape line, string lineProjectionInProj4String, double searchBuffer, DistanceUnit unitOfsearchBuffer, CloudReverseGeocodingOptions options)

Parameters

line LineShape
The line feature to search.

lineProjectionInProj4String String
The proj4string (coordinate system) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

SearchLineInDecimalDegreeAsync(LineShape, Double, DistanceUnit)

Searches for locations along a line.

public Task<CloudReverseGeocodingResult> SearchLineInDecimalDegreeAsync(LineShape line, double searchBuffer, DistanceUnit unitOfsearchBuffer)

Parameters

line LineShape
The line feature to search.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchLineInDecimalDegreeAsync(LineShape, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations along a line.

public Task<CloudReverseGeocodingResult> SearchLineInDecimalDegreeAsync(LineShape line, double searchBuffer, DistanceUnit unitOfsearchBuffer, CloudReverseGeocodingOptions options)

Parameters

line LineShape
The line feature to search.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchLineAsync(LineShape, Int32, Double, DistanceUnit)

Searches for locations along a line.

public Task<CloudReverseGeocodingResult> SearchLineAsync(LineShape line, int lineProjectionInSrid, double searchBuffer, DistanceUnit unitOfsearchBuffer)

Parameters

line LineShape
The line feature to search.

lineProjectionInSrid Int32
The SRID (spatial reference system ID) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchLineAsync(LineShape, Int32, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations along a line.

public Task<CloudReverseGeocodingResult> SearchLineAsync(LineShape line, int lineProjectionInSrid, double searchBuffer, DistanceUnit unitOfsearchBuffer, CloudReverseGeocodingOptions options)

Parameters

line LineShape
The line feature to search.

lineProjectionInSrid Int32
The SRID (spatial reference system ID) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchLineAsync(LineShape, String, Double, DistanceUnit)

Searches for locations along a line.

public Task<CloudReverseGeocodingResult> SearchLineAsync(LineShape line, string lineProjectionInProj4String, double searchBuffer, DistanceUnit unitOfsearchBuffer)

Parameters

line LineShape
The line feature to search.

lineProjectionInProj4String String
The proj4string (coordinate system) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchLineAsync(LineShape, String, Double, DistanceUnit, CloudReverseGeocodingOptions)

Searches for locations along a line.

public Task<CloudReverseGeocodingResult> SearchLineAsync(LineShape line, string lineProjectionInProj4String, double searchBuffer, DistanceUnit unitOfsearchBuffer, CloudReverseGeocodingOptions options)

Parameters

line LineShape
The line feature to search.

lineProjectionInProj4String String
The proj4string (coordinate system) of line.

searchBuffer Double
The buffer of search line.

unitOfsearchBuffer DistanceUnit

The unit of measure in which the searchBuffer is expressed.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

SearchAreaInDecimalDegree(PolygonShape)

Searches for locations within an area.

public CloudReverseGeocodingResult SearchAreaInDecimalDegree(PolygonShape area)

Parameters

area PolygonShape
The polygon feature to search.

Returns

CloudReverseGeocodingResult
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchAreaInDecimalDegree(PolygonShape, CloudReverseGeocodingOptions)

Searches for locations within an area.

public CloudReverseGeocodingResult SearchAreaInDecimalDegree(PolygonShape area, CloudReverseGeocodingOptions options)

Parameters

area PolygonShape
The polygon feature to search.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchArea(PolygonShape, Int32)

Searches for locations within an area.

public CloudReverseGeocodingResult SearchArea(PolygonShape area, int areaProjectionInSrid)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInSrid Int32
The SRID (spatial reference system ID) of area.

Returns

CloudReverseGeocodingResult
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchArea(PolygonShape, Int32, CloudReverseGeocodingOptions)

Searches for locations within an area.

public CloudReverseGeocodingResult SearchArea(PolygonShape area, int areaProjectionInSrid, CloudReverseGeocodingOptions options)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInSrid Int32
The SRID (spatial reference system ID) of area.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchArea(PolygonShape, String)

Searches for locations within an area.

public CloudReverseGeocodingResult SearchArea(PolygonShape area, string areaProjectionInProj4String)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInProj4String String
The proj4string (coordinate system) of area.

Returns

CloudReverseGeocodingResult
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchArea(PolygonShape, String, CloudReverseGeocodingOptions)

Searches for locations within an area.

public CloudReverseGeocodingResult SearchArea(PolygonShape area, string areaProjectionInProj4String, CloudReverseGeocodingOptions options)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInProj4String String
The proj4string (coordinate system) in which to express the result.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

CloudReverseGeocodingResult
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchAreaInDecimalDegreeAsync(PolygonShape)

Searches for locations within an area.

public Task<CloudReverseGeocodingResult> SearchAreaInDecimalDegreeAsync(PolygonShape area)

Parameters

area PolygonShape
The polygon feature to search.

Returns

Task<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchAreaInDecimalDegreeAsync(PolygonShape, CloudReverseGeocodingOptions)

Searches for locations within an area.

public Task<CloudReverseGeocodingResult> SearchAreaInDecimalDegreeAsync(PolygonShape area, CloudReverseGeocodingOptions options)

Parameters

area PolygonShape
The polygon feature to search.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchAreaAsync(PolygonShape, Int32)

Searches for locations within an area.

public Task<CloudReverseGeocodingResult> SearchAreaAsync(PolygonShape area, int areaProjectionInSrid)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInSrid Int32
The SRID (spatial reference system ID) of area.

Returns

Task<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchAreaAsync(PolygonShape, Int32, CloudReverseGeocodingOptions)

Searches for locations within an area.

public Task<CloudReverseGeocodingResult> SearchAreaAsync(PolygonShape area, int areaProjectionInSrid, CloudReverseGeocodingOptions options)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInSrid Int32
The SRID (spatial reference system ID) of area.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchAreaAsync(PolygonShape, String)

Searches for locations within an area.

public Task<CloudReverseGeocodingResult> SearchAreaAsync(PolygonShape area, string areaProjectionInProj4String)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInProj4String String
The proj4string (coordinate system) of area.

Returns

Task<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

SearchAreaAsync(PolygonShape, String, CloudReverseGeocodingOptions)

Searches for locations within an area.

public Task<CloudReverseGeocodingResult> SearchAreaAsync(PolygonShape area, string areaProjectionInProj4String, CloudReverseGeocodingOptions options)

Parameters

area PolygonShape
The polygon feature to search.

areaProjectionInProj4String String
The proj4string (coordinate system) of area.

options CloudReverseGeocodingOptions
The options for the searching.

Returns

Task<CloudReverseGeocodingResult>
The search result.

Exceptions

ArgumentNullException
Thrown when the is null or empty.

Events

GettingAccessToken

Occurs before getting an AccessToken.

public event EventHandler<GettingAccessTokenEventArgs> GettingAccessToken;

SendingWebRequest

Occurs before sending a web request.

public event EventHandler<SendingWebRequestEventArgs> SendingWebRequest;

SentWebRequest

Occurs after the response of a web request is gotten.

public event EventHandler<SentWebRequestEventArgs> SentWebRequest;

< Back