QgsLayerMetadata::SpatialExtent struct

Metadata spatial extent structure.

Contents

Public variables

QgsBox3d bounds
Geospatial extent of the resource.
QgsCoordinateReferenceSystem extentCrs
Coordinate reference system for spatial extent.

Variable documentation

QgsBox3d QgsLayerMetadata::SpatialExtent::bounds

Geospatial extent of the resource.

X and Y coordinates are in the CRS defined by the metadata (see extentCrs).

While the spatial extent can include a Z dimension, this is not compulsory.

QgsCoordinateReferenceSystem QgsLayerMetadata::SpatialExtent::extentCrs

Coordinate reference system for spatial extent.

The CRS should match the CRS defined in the QgsLayerMetadata CRS property.