Packagecom.esri.bao.tasks.geofence
Classpublic final class GeofenceInfoParameters
InheritanceGeofenceInfoParameters Inheritance AnalysisParameters Inheritance BATaskParameters
ImplementsIBAResultProcessor

The GeofenceInfoParameters class provides input parameters for the Geofence Info task.

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.


Example
ActionScript to create GeofenceInfoParameters and then use in the GeofenceInfoTask:
     
 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

GeofenceInfoTask
GeofenceInfoOutput
OutputTypes


Public Properties
 PropertyDefined by
  geoLevelID : String
Business Analyst Online data layer ID to query features in.
GeofenceInfoParameters
 InheritedoutputTypes : 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
 InheritedtaskName : String
Name of a Business Analyst task associated with these parameters.
BATaskParameters
Public Methods
 MethodDefined by
  
GeofenceInfoParameters(geoLevelID:String = null, searchString:String = null)
Creates a new instance of the GeofenceInfoParameters class.
GeofenceInfoParameters
Property detail
geoLevelIDproperty
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

resultTypeproperty 
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
searchStringproperty 
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
Constructor detail
GeofenceInfoParameters()constructor
public function GeofenceInfoParameters(geoLevelID:String = null, searchString:String = null)

Creates a new instance of the GeofenceInfoParameters class.

Parameters
geoLevelID: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