| FRAMES | NO FRAMES | |
Standard geography layer.
class StdLayer
| Property | Description |
|---|---|
| GeographyIDs | Array of IDs of features requested from the geography level. If this object is null, all features from geography level are requested. This array could be composed from values of StdGeographiesReturnedFeature.FeatureID property. Type String[]. |
| ID | ID of a standard geography level. The list of available geography levels could be retrieved with GetStandardGeographyLevels method. Type String. |
When specifying Business Analyst StdLayers as trade/study areas in analysis tasks, an "aggregated geographies" syntax option is supported which can create a single aggregated study area consisting of multiple standard geography areas. For example, instead of leveraging the Summary Reports task to create a Business Analyst report based on 3 separate ZIP code areas, the aggregated geographies syntax can be used to treat all 3 ZIP code areas as a single combined area. To aggregate or summarize the underlying values of more than one area, simply include the feature in the same string delimited by commas.
e.g. This code will produce two distinct ZIP code areas which will not be summarized and described as two separate areas.
C#
// Specify standard geography features with StdLayers
StdLayer stdLayer1 = new StdLayer();
stdLayer1.ID = "US.ZIP5";
stdLayer1.GeographyIDs = new string[] { "92373", "92374" };
VB.NET
' Specify standard geography features with StdLayers
Dim stdLayer1 As New StdLayer()
stdLayer1.ID = "US.ZIP5"
stdLayer1.GeographyIDs = New String() {"92373", "92374"}
And this code will produce two ZIP code areas which will be summarized and described as a single area.
C#
// Specify standard geography features with StdLayers
StdLayer stdLayer1 = new StdLayer();
stdLayer1.ID = "US.ZIP5";
stdLayer1.GeographyIDs = new string[] { "92373,92374" };
VB.NET
' Specify standard geography features with StdLayers
Dim stdLayer1 As New StdLayer()
stdLayer1.ID = "US.ZIP5"
stdLayer1.GeographyIDs = New String() {"92373,92374"}