Class MapsQueryCloudClient
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
Exceptions
- ArgumentNullException
Thrown when the
clientId
orclientSecret
is null.
Methods
GetAttributesOfLayer(string)
List the feature attributes available on the given query layer.
public CloudMapsQueryGetAttributesOfLayerResult GetAttributesOfLayer(string queryLayer)
Parameters
queryLayer
stringthe query layer.
Returns
GetAttributesOfLayerAsync(string)
List the feature attributes available on the given query layer.
public Task<CloudMapsQueryGetAttributesOfLayerResult> GetAttributesOfLayerAsync(string queryLayer)
Parameters
queryLayer
stringthe query layer.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
GetFeaturesContaining(string, BaseShape, CloudMapsQuerySpatialQueryOptions)
Get the features that contain the target shape.
public CloudMapsQueryResult GetFeaturesContaining(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)
Parameters
queryLayer
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
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
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
GetFeaturesIntersecting(string, BaseShape, CloudMapsQuerySpatialQueryOptions)
Get the features that intersect the target shape.
public CloudMapsQueryResult GetFeaturesIntersecting(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)
Parameters
queryLayer
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
maxResults
intThe maximum number of features to return.
searchRadius
doubleThe radius of the search area around the target geometry.
searchRadiusUnit
DistanceUnitThe unit of measure in which the
searchRadius
is expressed.options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
maxResults
intThe maximum number of features to return.
searchRadius
doubleThe radius of the search area around the target geometry.
searchRadiusUnit
DistanceUnitThe unit of measure in which the
searchRadius
is expressed.options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
maxResults
intThe maximum number of features to return.
options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
maxResults
intThe maximum number of features to return.
options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
maxResults
intThe maximum number of features to return.
searchRadius
doubleThe radius of the search area around the target geometry.
searchRadiusUnit
DistanceUnitThe unit of measure in which the
searchRadius
is expressed.options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
maxResults
intThe maximum number of features to return.
options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
maxResults
intThe maximum number of features to return.
searchRadius
doubleThe radius of the search area around the target geometry.
searchRadiusUnit
DistanceUnitThe unit of measure in which the
searchRadius
is expressed.options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
maxResults
intThe maximum number of features to return.
searchRadius
doubleThe radius of the search area around the target geometry.
searchRadiusUnit
DistanceUnitThe unit of measure in which the
searchRadius
is expressed.options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
maxResults
intThe maximum number of features to return.
options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
maxResults
intThe maximum number of features to return.
options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
maxResults
intThe maximum number of features to return.
searchRadius
doubleThe radius of the search area around the target geometry.
searchRadiusUnit
DistanceUnitThe unit of measure in which the
searchRadius
is expressed.options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
maxResults
intThe maximum number of features to return.
options
CloudMapsQueryNearestQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
GetFeaturesOverlapping(string, BaseShape, CloudMapsQuerySpatialQueryOptions)
Get the features that overlap the target shape.
public CloudMapsQueryResult GetFeaturesOverlapping(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)
Parameters
queryLayer
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
GetFeaturesTouching(string, BaseShape, CloudMapsQuerySpatialQueryOptions)
Get the features that touch the target shape.
public CloudMapsQueryResult GetFeaturesTouching(string queryLayer, BaseShape shape, CloudMapsQuerySpatialQueryOptions options = null)
Parameters
queryLayer
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
distance
doubleThe distance within which to find features.
distanceUnit
DistanceUnitThe unit of measure in which the
distance
is expressed.options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
distance
doubleThe distance within which to find features.
distanceUnit
DistanceUnitThe unit of measure in which the
distance
is expressed.options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
distance
doubleThe distance within which to find features.
distanceUnit
DistanceUnitThe unit of measure in which the
distance
is expressed.options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
distance
doubleThe distance within which to find features.
distanceUnit
DistanceUnitThe unit of measure in which the
distance
is expressed.options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
srid
intSpecifies the SRID (spatial reference system ID). Defaults to 4326.
distance
doubleThe distance within which to find features.
distanceUnit
DistanceUnitThe unit of measure in which the
distance
is expressed.options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
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
stringThe query layer.
shape
BaseShapeThe target shape.
proj4String
stringSpecifies the proj4String (coordinate system).
distance
doubleThe distance within which to find features.
distanceUnit
DistanceUnitThe unit of measure in which the
distance
is expressed.options
CloudMapsQuerySpatialQueryOptionsThe options of quering.
Returns
GetLayers()
List the available query layers.
public CloudMapsQueryGetLayersResult GetLayers()
Returns
GetLayersAsync()
List the available query layers.
public Task<CloudMapsQueryGetLayersResult> GetLayersAsync()