FRAMES | NO FRAMES |
Geography location names and IDs are returned for a string-based query.
Availability: Business Analyst Server, Business Analyst Online.
StdGeographiesReturnedFeature[] StdGeographiesByAttributes ( StdGeographiesByAttributesParams Parameters );
Parameter | Description |
---|---|
Parameters | Geographic search parameters. Type StdGeographiesByAttributesParams. |
Variable of type StdGeographiesReturnedFeature[]
The example below requests an array of ID/Name locations from a standard geography level filtering them by a search criterion. The list of available geography levels could be retrieved with GetStandardGeographyLevels method.
C# |
// Instantiate the BAServerHelper class to access analysis methods BAServerHelper baServerHelper = new BAServerHelper(); baServerHelper.ActiveDatasetID = "USA_ESRI"; // Optional parameter StdGeographiesByAttributesParams parameters = new StdGeographiesByAttributesParams(); parameters.GeoLevelID = "US.Counties"; parameters.SearchString = "San"; StdGeographiesReturnedFeature[] features = baServerHelper.StdGeographiesByAttributes(parameters); |