Packagecom.esri.baserver.tasks.stdgeographies
Classpublic class CreateStdGeographiesParameters
InheritanceCreateStdGeographiesParameters Inheritance AnalysisParameters Inheritance BATaskParameters Inheritance Object

The CreateStdGeographiesParameters class provides input parameters for the Create Standard Geographies task.

Output options for this task include creating a feature class for subsequent analysis (outputTypes.getFeatureClass). If no output options are specified, the feature class will be returned in the case when the outputAnalysisItem is absent.

View the examples

See also

CreateStdGeographiesTask


Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BATaskParameters
  featureList : Array
Array of features to be exported from standard geography levels.
CreateStdGeographiesParameters
  outputAnalysisItem : FolderItem
Configuration options for storing the output feature class in the repository.
CreateStdGeographiesParameters
  outputSpatialReference : SpatialReference
The spatial reference to return the output feature set in.
CreateStdGeographiesParameters
 InheritedoutputTypes : OutputTypes
Task output types.
BATaskParameters
 InheritedresultType : BAResultType
[read-only] Type of the result returned by the task associated with these parameters.
BATaskParameters
  returnGeometry : Boolean
An option specifying the presence of the shape attribute in the returned record set.
CreateStdGeographiesParameters
 InheritedtaskName : String
[read-only] Name of a Community Analyst Task associated with these parameters.
BATaskParameters
Public Methods
 MethodDefined By
  
CreateStdGeographiesParameters(featureList:Array = null)
Creates a new instance of the CreateStdGeographiesParameters class.
CreateStdGeographiesParameters
Property Detail
featureListproperty
featureList:Array

Array of features to be exported from standard geography levels. This array contains instances of the StdGeographiesFeaturesInLevel type.


Implementation
    public function get featureList():Array
    public function set featureList(value:Array):void

See also

outputAnalysisItemproperty 
outputAnalysisItem:FolderItem

Configuration options for storing the output feature class in the repository.


Implementation
    public function get outputAnalysisItem():FolderItem
    public function set outputAnalysisItem(value:FolderItem):void
outputSpatialReferenceproperty 
outputSpatialReference:SpatialReference

The spatial reference to return the output feature set in.


Implementation
    public function get outputSpatialReference():SpatialReference
    public function set outputSpatialReference(value:SpatialReference):void
returnGeometryproperty 
returnGeometry:Boolean

An option specifying the presence of the shape attribute in the returned record set.

The default value is true.


Implementation
    public function get returnGeometry():Boolean
    public function set returnGeometry(value:Boolean):void
Constructor Detail
CreateStdGeographiesParameters()Constructor
public function CreateStdGeographiesParameters(featureList:Array = null)

Creates a new instance of the CreateStdGeographiesParameters class.

Parameters
featureList:Array (default = null) — Array of features to be exported from standard geography levels. This array contains instances of the StdGeographiesFeaturesInLevel type.
Examples
ActionScript to create CreateStdGeographiesParameters and then use in a Create Standard Geographies task:
                     
     var parameters : CreateStdGeographiesParameters = new CreateStdGeographiesParameters();
     
     // featureList is an array of com.esri.baserver.StdGeographiesFeaturesInLevel types, e.g.
     //var featureInLevel:StdGeographiesFeaturesInLevel = new StdGeographiesFeaturesInLevel();
     //featureInLevel.levelID = "US.Counties";
     //featureInLevel.featureID = new Array("01021", "01045", "01121"); 
     
     parameters.featureList = [ featureInLevel ];
      
     createStdGeographiesTask.execute(parameters, new Responder(resultHandler, faultHandler));