| Package | com.esri.bacore |
| Class | public class StandardLayer |
| Inheritance | StandardLayer Object |
The id property is used to specify a standard
Community Analyst data layer. Filtering for specific
records is supported with the geographyIDs property
or query property; however, they can’t be specified as both.
In Community Analyst, the query property is temporary not supported.
Most use cases involve the retrieval of areas associated with an installed geography level. For the default Community Analyst dataset, this includes geography levels such as Census Block groups, Census Tracts, U.S. ZIP codes, etc. In many cases, queries involve the use of standardized FIPS codes.
See also
| Property | Defined By | ||
|---|---|---|---|
| geographyIDs : Array
Array of IDs of features to be requested from the geography level. | StandardLayer | ||
| id : String
ID of a standard geography level. | StandardLayer | ||
| query : String
A query string. | StandardLayer | ||
| Method | Defined By | ||
|---|---|---|---|
StandardLayer(id:String = null, geographyIDs:Array = null)
Creates a new instance of the Standardlayer class. | StandardLayer | ||
| geographyIDs | property |
geographyIDs:ArrayArray of IDs of features to be requested from the geography level. If this object is empty, all features from a geography level are requested. This array could be composed from IDNamePair.id property values returned by lookup utilities for standard geographies features.
public function get geographyIDs():Array public function set geographyIDs(value:Array):voidSee also
| id | property |
id:StringID of a standard geography level. An array of available geography levels could be retrieved with the GetStandardGeographyLevelsTask task.
public function get id():String public function set id(value:String):voidSee also
| query | property |
query:StringA query string. Specifies a SQL query to be used in the WHERE clause.
public function get query():String public function set query(value:String):void| StandardLayer | () | Constructor |
public function StandardLayer(id:String = null, geographyIDs:Array = null)Creates a new instance of the Standardlayer class.
Parametersid:String (default = null) — ID of a standard geography level.
| |
geographyIDs:Array (default = null) — Array of IDs of features requested from the geography level.
|