FRAMES | NO FRAMES
SpatialFilter Type

Spatial/geographic filter restricting businesses search.

Availability: Business Analyst Server 10.0.

class SpatialFilter

Property Description
AnalysisExtent Spatial/geographic extent to filter search results with. Type ExtentData.
Boundaries Data layer with the polygon geometry to filter search results with. Type DataLayer.
Locations Array of business locations to filter search results with. Type String[].

Remarks

In a spatial filter, all properties are mutually exclusive. Only one of these properties should be specified. The AnalysisExtent property allows restricting the search with a polygon or envelope geometry. The Boundaries property allows restricting the search with the polygon data layer geometry. The Locations property specifies a list of business locations to search within.

Every business location is specified as a string containing comma-separated list of geography location names from top to bottom. For example, a business location at California, Redding, 96002 should be specified as "CA,Redding,96002". Allowable location names can be retrieved with the SelectLocations method.

See Also