Package | com.esri.bao.tasks.geofence |
Class | public final class GeofenceInfoParameters |
Inheritance | GeofenceInfoParameters ![]() ![]() |
Implements | IBAResultProcessor |
The standard geography data layer is specified by the geoLevelID
property value.
The query criteria is specified by the searchString
property value.
This query is performed on the name and ID attributes of every available feature in the standard geography layer.
All available features in the specified standard geography layer are requested when no value for the
searchString
property is specified.
When specifying the request with a Business Analyst Online API user account with geofence constraints, the resulting features are filtered with geofence criteria.
Output options for this task include creating a feature class for subsequent analysis (outputTypes.getFeatureClass) and rendering output image (outputTypes.getMapImage). If output options are not specified, the output will contain the stdGeographiesFeatures only.
var parameters : GeofenceInfoParameters = new GeofenceInfoParameters(); parameters.geoLevelID = "US.ZIP5"; parameters.searchString = "923"; // Optionally set getFeatureClass and getMapImage to true parameters.outputTypes.getFeatureClass = true; parameters.outputTypes.getMapImage = true; geofenceInfoTask.execute(parameters, new Responder(resultHandler, faultHandler));
See also
Property | Defined by | ||
---|---|---|---|
geoLevelID : String
Business Analyst Online data layer ID to query features in.
| GeofenceInfoParameters | ||
![]() | outputTypes : OutputTypes
Task output types.
| BATaskParameters | |
resultType : BAResultType
[read-only]
Type of a result returned by the task associated with these parameters.
| GeofenceInfoParameters | ||
searchString : String
Search string criterion.
| GeofenceInfoParameters | ||
![]() | taskName : String
Name of a Business Analyst task associated with these parameters.
| BATaskParameters |
Method | Defined by | ||
---|---|---|---|
GeofenceInfoParameters(geoLevelID:String = null, searchString:String = null)
Creates a new instance of the GeofenceInfoParameters class.
| GeofenceInfoParameters |
geoLevelID | property |
geoLevelID:String
[read-write]Business Analyst Online data layer ID to query features in. The list of available geography levels could be retrieved with GetStandardGeographyLevelsTask task.
Implementation public function get geoLevelID():String
public function set geoLevelID(value:String):void
See also
resultType | property |
resultType:BAResultType
[read-only]Type of a result returned by the task associated with these parameters. The base implementation returns BAResultType.SPECIAL.
Implementation public function get resultType():BAResultType
searchString | property |
searchString:String
[read-write]Search string criterion. It is used to query features of the data layer specified by the geoLevelID property value. A feature of the data layer is recognized as a matching feature if its ID or name contains the search string. If the search string is missing or empty, all features of the data layer are recognized as matching features.
Implementation public function get searchString():String
public function set searchString(value:String):void
GeofenceInfoParameters | () | constructor |
public function GeofenceInfoParameters(geoLevelID:String = null, searchString:String = null)
Creates a new instance of the GeofenceInfoParameters class.
ParametersgeoLevelID:String (default = null ) — The unique identifier for the standard geography level.
The list of available geography levels could be retrieved with GetStandardGeographyLevelsTask task.
|
|
searchString:String (default = null ) — A string of characters which is used to query features of the data
layer specified by the geoLevelID parameter value.
|
See also