You are here: Using SOAP > v2006 services > Spatial Query > Spatial Query v2006 methods

Spatial Query Web Service v2006 methods

To see Spatial Query Web Service in action, interact with a live sample of a Spatial Query client.

findFeaturesByExtent(extent:Envelope, spatialQueryOptions:SpatialQueryOptions, token:string):ResultSet

findFeaturesByGeometry(geometry:Geometry, spatialQueryOptions:SpatialQueryOptions, token:string):ResultSet

findFeaturesByPoint(point:Point, spatialQueryOptions:SpatialQueryOptions, token:string):ResultSet

getAvailableFieldNames(dataSources:string[], token:string):SpatialQueryInfo[]

getVersion:string

findFeaturesByExtent

Returns data from a specific spatial query data source that is within or in a certain proximity of a given extent. To search only for features that are within an input extent, set the object parameter SpatialBuffer:bufferDistance value to almost 0 (for example, 0.001).

Endpoint URL

http://www.arcwebservices.com/services/v2006/SpatialQuery

Input

Name

Type

Valid values

extent

Envelope

Envelope parameters

spatialQueryOptions

SpatialQueryOptions

SpatialQueryOptions parameters

token

string

Authentication token

Output

ResultSet

Code examples

C#.NET

ColdFusion

Java

VB.NET

findFeaturesByGeometry

Returns data from a specific spatial query data source that is within or in a certain proximity of a given geometry. To search only for features that are within an input polygon geometry, set the object parameter SpatialBuffer:bufferDistance value to almost 0 (for example, 0.001).

Endpoint URL

http://www.arcwebservices.com/services/v2006/SpatialQuery

Input

Name

Type

Valid values

geometry

Geometry

Geometry parameters

spatialQueryOptions

SpatialQueryOptions

SpatialQueryOptions parameters

token

string

Authentication token

Output

ResultSet

Code examples

C#.NET

ColdFusion

Java

VB.NET

findFeaturesByPoint

Returns data from a specific spatial query data source that is within or in a certain proximity of a given x,y location.

Endpoint URL

http://www.arcwebservices.com/services/v2006/SpatialQuery

Input

Name

Type

Valid values

point

Point

Point parameters

spatialQueryOptions

SpatialQueryOptions

SpatialQueryOptions parameters

token

string

Authentication token

Output

ResultSet

Code examples

C#.NET

ColdFusion

Java

VB.NET

getAvailableFieldNames

Returns available fields and related information from a specific spatial query data source.

Endpoint URL

http://www.arcwebservices.com/services/v2006/SpatialQuery

Input

Name

Type

Valid values

dataSources

string[]

Spatial Query data sources. (Use the name in parenthesis.)

token

string

Authentication token

Output

SpatialQueryInfo[]

Code examples

C#.NET

ColdFusion

Java

VB.NET

getVersion

Returns the version number of Spatial Query Web Service.

Endpoint URL

http://www.arcwebservices.com/services/v2006/SpatialQuery

Output

string

Code examples

C#.NET

ColdFusion

Java

VB.NET


Visit the Feedback page to give comments or suggestions about the ArcWeb Developer's Guide.

ArcWeb site | ArcWeb support | support.esri.com

Copyright © ESRI