GetFeaturesAtPoint

This method is available to developers from the Locate.asmx Web Service and returns a list of Features at the supplied co-ordinates. All searchable layers are searched. A fixed 0.01m tolerance is used to query layers.

Syntax
http://localhost/isharemaps_internal/locate.asmx/GetFeaturesAtPoint?mapsource=Workshop/AllMaps&x=123&y=456

Parameters

 

Name

Requirement

Description

mapsource

mandatory

A list can be obtained from the GetMapSources method. This needs to be the name of the .xml file (without the .xml extension) not the name of the MapSource in Studio.

x

mandatory

Easting coordinate in British National Grid

y

mandatory

Northing coordinate in British National Grid

Returns

MapSpur Envelope including a Results dataset of features in individual tables.  This dataset must be transversed and ‘assessed’ be the calling application as it is built from the data that it finds.

Errors

Raises error – Invalid Map Source