Table of Contents

Class MapsQueryCloudClient

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

A class provides the methods to access the MapsQuery APIs.

public class MapsQueryCloudClient : CloudClient, IDisposable
Inheritance
MapsQueryCloudClient
Implements
Inherited Members

Remarks

A class provides the methods to access the MapsQuery APIs.

Constructors

MapsQueryCloudClient()

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

public MapsQueryCloudClient()

MapsQueryCloudClient(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 MapsQueryCloudClient(string clientId, string clientSecret)

Parameters

clientId string

The ClientID for the auth.

clientSecret string

The ClientSecret for the auth.

Exceptions

ArgumentNullException

Thrown when the clientId or clientSecret is null.

Methods

GetAttributesOfLayer(string)

List the feature attributes available on the given query layer.

public CloudMapsQueryGetAttributesOfLayerResult GetAttributesOfLayer(string queryLayer)

Parameters

queryLayer string

the query layer.

Returns

CloudMapsQueryGetAttributesOfLayerResult

GetAttributesOfLayerAsync(string)

List the feature attributes available on the given query layer.

public Task<CloudMapsQueryGetAttributesOfLayerResult> GetAttributesOfLayerAsync(string queryLayer)

Parameters

queryLayer string

the query layer.

Returns

Task<CloudMapsQueryGetAttributesOfLayerResult>

GetFeaturesContaining(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that contain the target shape.

public CloudMapsQueryResult GetFeaturesContaining(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesContaining(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that contain the target shape.

public CloudMapsQueryResult GetFeaturesContaining(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesContaining(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that contain the target shape.

public CloudMapsQueryResult GetFeaturesContaining(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesContainingAsync(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that contain the target shape.

public Task<CloudMapsQueryResult> GetFeaturesContainingAsync(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesContainingAsync(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that contain the target shape.

public Task<CloudMapsQueryResult> GetFeaturesContainingAsync(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesContainingAsync(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that contain the target shape.

public Task<CloudMapsQueryResult> GetFeaturesContainingAsync(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesCustom(CloudMapsQueryCustomQueryOptions)

Perform a custom spatial query, using the specified query layer, spatial relationship type, and query feature.

public CloudMapsQueryResult GetFeaturesCustom(CloudMapsQueryCustomQueryOptions options)

Parameters

options CloudMapsQueryCustomQueryOptions

Returns

CloudMapsQueryResult

GetFeaturesCustomAsync(CloudMapsQueryCustomQueryOptions)

Perform a custom spatial query, using the specified query layer, spatial relationship type, and query feature.

public Task<CloudMapsQueryResult> GetFeaturesCustomAsync(CloudMapsQueryCustomQueryOptions options)

Parameters

options CloudMapsQueryCustomQueryOptions

Returns

Task<CloudMapsQueryResult>

GetFeaturesIntersecting(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that intersect the target shape.

public CloudMapsQueryResult GetFeaturesIntersecting(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesIntersecting(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that intersect the target shape.

public CloudMapsQueryResult GetFeaturesIntersecting(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesIntersecting(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that intersect the target shape.

public CloudMapsQueryResult GetFeaturesIntersecting(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesIntersectingAsync(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that intersect the target shape.

public Task<CloudMapsQueryResult> GetFeaturesIntersectingAsync(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesIntersectingAsync(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that intersect the target shape.

public Task<CloudMapsQueryResult> GetFeaturesIntersectingAsync(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesIntersectingAsync(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that intersect the target shape.

public Task<CloudMapsQueryResult> GetFeaturesIntersectingAsync(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesNearest(string, BaseShape, int, double, DistanceUnit, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public CloudMapsQueryResult GetFeaturesNearest(string queryLayer, BaseShape shape, int maxResults, double searchRadius, DistanceUnit searchRadiusUnit, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

maxResults int

The maximum number of features to return.

searchRadius double

The radius of the search area around the target geometry.

searchRadiusUnit DistanceUnit

The unit of measure in which the

searchRadius

is expressed.
options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesNearest(string, BaseShape, int, int, double, DistanceUnit, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public CloudMapsQueryResult GetFeaturesNearest(string queryLayer, BaseShape shape, int srid, int maxResults, double searchRadius, DistanceUnit searchRadiusUnit, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

maxResults int

The maximum number of features to return.

searchRadius double

The radius of the search area around the target geometry.

searchRadiusUnit DistanceUnit

The unit of measure in which the

searchRadius

is expressed.
options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesNearest(string, BaseShape, int, int, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public CloudMapsQueryResult GetFeaturesNearest(string queryLayer, BaseShape shape, int srid, int maxResults, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

maxResults int

The maximum number of features to return.

options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesNearest(string, BaseShape, int, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public CloudMapsQueryResult GetFeaturesNearest(string queryLayer, BaseShape shape, int maxResults, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

maxResults int

The maximum number of features to return.

options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesNearest(string, BaseShape, string, int, double, DistanceUnit, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public CloudMapsQueryResult GetFeaturesNearest(string queryLayer, BaseShape shape, string proj4String, int maxResults, double searchRadius, DistanceUnit searchRadiusUnit, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

maxResults int

The maximum number of features to return.

searchRadius double

The radius of the search area around the target geometry.

searchRadiusUnit DistanceUnit

The unit of measure in which the

searchRadius

is expressed.
options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesNearest(string, BaseShape, string, int, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public CloudMapsQueryResult GetFeaturesNearest(string queryLayer, BaseShape shape, string proj4String, int maxResults, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

maxResults int

The maximum number of features to return.

options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesNearestAsync(string, BaseShape, int, double, DistanceUnit, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public Task<CloudMapsQueryResult> GetFeaturesNearestAsync(string queryLayer, BaseShape shape, int maxResults, double searchRadius, DistanceUnit searchRadiusUnit, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

maxResults int

The maximum number of features to return.

searchRadius double

The radius of the search area around the target geometry.

searchRadiusUnit DistanceUnit

The unit of measure in which the

searchRadius

is expressed.
options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesNearestAsync(string, BaseShape, int, int, double, DistanceUnit, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public Task<CloudMapsQueryResult> GetFeaturesNearestAsync(string queryLayer, BaseShape shape, int srid, int maxResults, double searchRadius, DistanceUnit searchRadiusUnit, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

maxResults int

The maximum number of features to return.

searchRadius double

The radius of the search area around the target geometry.

searchRadiusUnit DistanceUnit

The unit of measure in which the

searchRadius

is expressed.
options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesNearestAsync(string, BaseShape, int, int, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public Task<CloudMapsQueryResult> GetFeaturesNearestAsync(string queryLayer, BaseShape shape, int srid, int maxResults, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

maxResults int

The maximum number of features to return.

options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesNearestAsync(string, BaseShape, int, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public Task<CloudMapsQueryResult> GetFeaturesNearestAsync(string queryLayer, BaseShape shape, int maxResults, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

maxResults int

The maximum number of features to return.

options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesNearestAsync(string, BaseShape, string, int, double, DistanceUnit, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public Task<CloudMapsQueryResult> GetFeaturesNearestAsync(string queryLayer, BaseShape shape, string proj4String, int maxResults, double searchRadius, DistanceUnit searchRadiusUnit, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

maxResults int

The maximum number of features to return.

searchRadius double

The radius of the search area around the target geometry.

searchRadiusUnit DistanceUnit

The unit of measure in which the

searchRadius

is expressed.
options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesNearestAsync(string, BaseShape, string, int, CloudMapsQueryNearestQueryOptions)

Get the features that are nearest to the target shape.

public Task<CloudMapsQueryResult> GetFeaturesNearestAsync(string queryLayer, BaseShape shape, string proj4String, int maxResults, CloudMapsQueryNearestQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

maxResults int

The maximum number of features to return.

options CloudMapsQueryNearestQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesOverlapping(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that overlap the target shape.

public CloudMapsQueryResult GetFeaturesOverlapping(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesOverlapping(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that overlap the target shape.

public CloudMapsQueryResult GetFeaturesOverlapping(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesOverlapping(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that overlap the target shape.

public CloudMapsQueryResult GetFeaturesOverlapping(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesOverlappingAsync(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that overlap the target shape.

public Task<CloudMapsQueryResult> GetFeaturesOverlappingAsync(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesOverlappingAsync(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that overlap the target shape.

public Task<CloudMapsQueryResult> GetFeaturesOverlappingAsync(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesOverlappingAsync(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that overlap the target shape.

public Task<CloudMapsQueryResult> GetFeaturesOverlappingAsync(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesTouching(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that touch the target shape.

public CloudMapsQueryResult GetFeaturesTouching(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesTouching(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that touch the target shape.

public CloudMapsQueryResult GetFeaturesTouching(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesTouching(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that touch the target shape.

public CloudMapsQueryResult GetFeaturesTouching(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesTouchingAsync(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that touch the target shape.

public Task<CloudMapsQueryResult> GetFeaturesTouchingAsync(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesTouchingAsync(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that touch the target shape.

public Task<CloudMapsQueryResult> GetFeaturesTouchingAsync(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesTouchingAsync(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that touch the target shape.

public Task<CloudMapsQueryResult> GetFeaturesTouchingAsync(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesWithin(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that are within the target shape.

public CloudMapsQueryResult GetFeaturesWithin(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesWithin(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that are within the target shape.

public CloudMapsQueryResult GetFeaturesWithin(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesWithin(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that are within the target shape.

public CloudMapsQueryResult GetFeaturesWithin(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesWithinAsync(string, BaseShape, int, CloudMapsQuerySpatialQueryOptions)

Get the features that are within the target shape.

public Task<CloudMapsQueryResult> GetFeaturesWithinAsync(string queryLayer, BaseShape shape, int srid, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesWithinAsync(string, BaseShape, string, CloudMapsQuerySpatialQueryOptions)

Get the features that are within the target shape.

public Task<CloudMapsQueryResult> GetFeaturesWithinAsync(string queryLayer, BaseShape shape, string proj4String, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesWithinAsync(string, BaseShape, CloudMapsQuerySpatialQueryOptions)

Get the features that are within the target shape.

public Task<CloudMapsQueryResult> GetFeaturesWithinAsync(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesWithinDistance(string, BaseShape, double, DistanceUnit, CloudMapsQuerySpatialQueryOptions)

Get the features that are within a certain distance of the target shape.

public CloudMapsQueryResult GetFeaturesWithinDistance(string queryLayer, BaseShape shape, double distance, DistanceUnit distanceUnit, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

distance double

The distance within which to find features.

distanceUnit DistanceUnit

The unit of measure in which the

distance

is expressed.
options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesWithinDistance(string, BaseShape, int, double, DistanceUnit, CloudMapsQuerySpatialQueryOptions)

Get the features that are within a certain distance of the target shape.

public CloudMapsQueryResult GetFeaturesWithinDistance(string queryLayer, BaseShape shape, int srid, double distance, DistanceUnit distanceUnit, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

distance double

The distance within which to find features.

distanceUnit DistanceUnit

The unit of measure in which the

distance

is expressed.
options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesWithinDistance(string, BaseShape, string, double, DistanceUnit, CloudMapsQuerySpatialQueryOptions)

Get the features that are within a certain distance of the target shape.

public CloudMapsQueryResult GetFeaturesWithinDistance(string queryLayer, BaseShape shape, string proj4String, double distance, DistanceUnit distanceUnit, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

distance double

The distance within which to find features.

distanceUnit DistanceUnit

The unit of measure in which the

distance

is expressed.
options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

CloudMapsQueryResult

GetFeaturesWithinDistanceAsync(string, BaseShape, double, DistanceUnit, CloudMapsQuerySpatialQueryOptions)

Get the features that are within a certain distance of the target shape.

public Task<CloudMapsQueryResult> GetFeaturesWithinDistanceAsync(string queryLayer, BaseShape shape, double distance, DistanceUnit distanceUnit, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

distance double

The distance within which to find features.

distanceUnit DistanceUnit

The unit of measure in which the

distance

is expressed.
options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesWithinDistanceAsync(string, BaseShape, int, double, DistanceUnit, CloudMapsQuerySpatialQueryOptions)

Get the features that are within a certain distance of the target shape.

public Task<CloudMapsQueryResult> GetFeaturesWithinDistanceAsync(string queryLayer, BaseShape shape, int srid, double distance, DistanceUnit distanceUnit, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

srid int

Specifies the SRID (spatial reference system ID). Defaults to 4326.

distance double

The distance within which to find features.

distanceUnit DistanceUnit

The unit of measure in which the

distance

is expressed.
options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetFeaturesWithinDistanceAsync(string, BaseShape, string, double, DistanceUnit, CloudMapsQuerySpatialQueryOptions)

Get the features that are within a certain distance of the target shape.

public Task<CloudMapsQueryResult> GetFeaturesWithinDistanceAsync(string queryLayer, BaseShape shape, string proj4String, double distance, DistanceUnit distanceUnit, CloudMapsQuerySpatialQueryOptions options = null)

Parameters

queryLayer string

The query layer.

shape BaseShape

The target shape.

proj4String string

Specifies the proj4String (coordinate system).

distance double

The distance within which to find features.

distanceUnit DistanceUnit

The unit of measure in which the

distance

is expressed.
options CloudMapsQuerySpatialQueryOptions

The options of quering.

Returns

Task<CloudMapsQueryResult>

GetLayers()

List the available query layers.

public CloudMapsQueryGetLayersResult GetLayers()

Returns

CloudMapsQueryGetLayersResult

GetLayersAsync()

List the available query layers.

public Task<CloudMapsQueryGetLayersResult> GetLayersAsync()

Returns

Task<CloudMapsQueryGetLayersResult>