QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | Public Attributes | List of all members
QgsLayerMetadata::SpatialExtent Struct Reference

Metadata spatial extent structure. More...

#include <qgslayermetadata.h>

Public Member Functions

bool operator== (const QgsLayerMetadata::SpatialExtent &other) const
 

Public Attributes

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

Detailed Description

Metadata spatial extent structure.

Definition at line 62 of file qgslayermetadata.h.

Member Function Documentation

◆ operator==()

bool QgsLayerMetadata::SpatialExtent::operator== ( const QgsLayerMetadata::SpatialExtent other) const

Definition at line 505 of file qgslayermetadata.cpp.

Member Data Documentation

◆ bounds

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.

See also
extentCrs

Definition at line 81 of file qgslayermetadata.h.

◆ extentCrs

QgsCoordinateReferenceSystem QgsLayerMetadata::SpatialExtent::extentCrs

Coordinate reference system for spatial extent.

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

See also
QgsLayerMetadata::crs()
spatial

Definition at line 71 of file qgslayermetadata.h.


The documentation for this struct was generated from the following files: