| Package | com.esri.baserver.tasks.segmentation |
| Class | public class TargetPenetrationMapParameters |
| Inheritance | TargetPenetrationMapParameters AnalysisAndReportParameters StandardReportParameters BATaskParameters Object |
The analysisExtent parameter specifies the market area to thematically shade
locations in, the segmentationBase parameter specifies the base for assigning
segments to geographic sites, the segmentationLevel parameter specifies the ID
of a segmentation level, and the selectedSegments parameter specifies the list
of IDs of Tapestry segments of your interest.
Output options for this task include rendering an output image (outputTypes.getMapImage), creating
a feature class for subsequent analysis (outputTypes.getFeatureClass), and/or
creating a report (outputTypes.getReport).
If no output options are specified, the required output options are specified as follows.
If the renderingParameters parameter is specified, the image output is requested.
If the standardReportOptions parameter is specified, the report is requested.
If the outputAnalysisItem parameter is specified, the output analysis feature class
will be stored in the repository. If renderingParameters,
standardReportOptions, and outputAnalysisItem parameters are missing,
the feature class output is requested.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | activeDatasetID : String
Active dataset ID. | BATaskParameters | |
| analysisExtent : Geometry
Spatial/geographic extent on which to perform the analysis for (required). | TargetPenetrationMapParameters | ||
![]() | outputAnalysisItem : FolderItem
Configuration options for storing the output feature class in the repository. | AnalysisAndReportParameters | |
![]() | outputReportItem : FolderItem
Configuration options for storing the output report in the repository. | AnalysisAndReportParameters | |
![]() | outputSpatialReference : SpatialReference
The spatial reference to return the output feature set in. | AnalysisAndReportParameters | |
![]() | outputTypes : OutputTypes
Task output types. | BATaskParameters | |
![]() | renderingParameters : RenderingParameters
Configuration options for rendering output to map image. | AnalysisAndReportParameters | |
![]() | resultType : 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. | AnalysisAndReportParameters | |
| segmentationBase : String
Segmentation base (required). | TargetPenetrationMapParameters | ||
| segmentationLevel : String
Segmentation level ID (required). | TargetPenetrationMapParameters | ||
| selectedSegments : Array
Array of selected Tapestry segments (required). | TargetPenetrationMapParameters | ||
![]() | standardReportOptions : ReportOptions
Standard report options. | StandardReportParameters | |
![]() | taskName : String [read-only]
Name of a Community Analyst Task associated with these parameters. | BATaskParameters | |
| Method | Defined By | ||
|---|---|---|---|
TargetPenetrationMapParameters(outputTypes:OutputTypes = null)
Creates a new instance of the TargetPenetrationMapParameters class. | TargetPenetrationMapParameters | ||
| analysisExtent | property |
analysisExtent:GeometrySpatial/geographic extent on which to perform the analysis for (required). This parameter expects a value of the Extent or Polygon type.
public function get analysisExtent():Geometry public function set analysisExtent(value:Geometry):voidSee also
| segmentationBase | property |
segmentationBase:StringSegmentation base (required). Use the Get Segmentation Bases lookup operation to query available segmentation bases.
public function get segmentationBase():String public function set segmentationBase(value:String):voidSee also
| segmentationLevel | property |
segmentationLevel:StringSegmentation level ID (required). Use the Get Segmentation Levels lookup operation to query available segmentation level IDs and names.
public function get segmentationLevel():String public function set segmentationLevel(value:String):voidSee also
| selectedSegments | property |
selectedSegments:ArrayArray of selected Tapestry segments (required). This array should contain items of the String type.
public function get selectedSegments():Array public function set selectedSegments(value:Array):void| TargetPenetrationMapParameters | () | Constructor |
public function TargetPenetrationMapParameters(outputTypes:OutputTypes = null)Creates a new instance of the TargetPenetrationMapParameters class.
ParametersoutputTypes:OutputTypes (default = null) |
var parameters : TargetPenetrationMapParameters = new TargetPenetrationMapParameters();
// Set a data extent for analysis to myExtent that is a value of the Extent or Polygon type.
parameters.analysisExtent = myExtent;
// Set a segmentation base.
parameters.segmentationBase = "Total Households";
// Set a segmentation level ID.
parameters.segmentationLevel = "US.ZIP5";
// Set selected Tapestry segments.
parameters.selectedSegments = ["8", "30"];
// Set report parameters.
parameters.standardReportOptions = new ReportOptions("PDF");
targetPenetrationMapTask.execute(parameters, new Responder(resultHandler, faultHandler));