| Maptitude GISDK Help |
Gets the scope of a layer.
layer_scope = GetLayerScope(string layer_name)
| Argument | Contents |
|---|---|
| layer_name | The name of the specified layer |
The scope of the layer.
Layer_scope can be passed to any GISDK function that requires a scope as argument.
All layer types have a scope, including image layers.
For a full list of scope-related GISDK functions, see Map Scales and Scopes.
scp = GetLayerScope("U.S. States")
SetMapScope(, scp)
| Error Type | Meaning |
|---|---|
| NotFound | The specified layer does not exist |
| Error | Image database file is corrupted, or an internal error has occurred |
| Function | Summary |
|---|---|
| GetSetScope() | Gets the scope of the features in a selection set. |
| GetMapScope() | Gets the scope of a map |
| Scope() | Creates a scope |
| ©2025 Caliper Corporation | www.caliper.com |