AspectLayerGroup

class AspectLayerGroup
property id

The id of the aspect layer group.

Type

str, read-only

property name

The name of the aspect layer group.

Type

str

Raises

ReadOnlyError -- If Database is in read only mode.

property visible

The aspect layer group visibility.

Type

bool

Raises

ReadOnlyError -- If Database is in read only mode.

property parent_group

The parent group of this group or None if the group is at the root of the hierarchy.

Type

AspectLayerGroup or None

Raises

ReadOnlyError -- If Database is in read only mode.

list_aspect_layers(recursive=True)

List the aspect layers of the group.

Parameters

recursive (bool) -- If True, list all aspect layers in this group and child groups, otherwise only aspect layers of this group are returned.

Returns

The list of aspect layers in the group.

Return type

list(AspectLayer)

list_child_groups(recursive=True)

List the child aspect layer groups of this group.

Parameters

recursive (bool) -- If True, list aspect layer groups of this group recursively, otherwise only the direct child groups are returned.

Returns

The list of child groups.

Return type

list(AspectLayerGroup)

duplicate()

Duplicate this aspect layer group.

Returns

The duplicated aspect layer group.

Return type

AspectLayerGroup

Raises

ReadOnlyError -- If Database is in read only mode.

remove(force=False)

Delete a aspect layer group

Note

By default, only empty groups can be deleted (NotEmptyError is raised otherwise), use force to force deletion of non empty groups.

Parameters

force (bool) -- Force the deletion of the group even if it contains aspect layers and/or groups.

Raises