Graphics Reference
In-Depth Information
Other useful qgis.core classes
Apart from all the classes and functionality involved in working with data sources and
map layers, the qgis.core library also defines a number of other classes that you might
find useful:
Class
Description
This represents the current QGIS project. Note that this is a singleton object, as only one project can be open at
a time. The QgsProject class is responsible for loading and storing properties, which can be useful for plu-
gins.
QgsProject
QGis
This class defines various constants, data types, and functions used throughout the QGIS system.
QgsPoint
This is a generic class that stores the coordinates for a point within a two-dimensional plane.
QgsRectangle
This is a generic class that stores the coordinates for a rectangular area within a two-dimensional plane.
This is the base class to use for processing raster data, for example, to reproject a set of raster data into a new
coordinate system, to apply filters to change the brightness or color of your raster data, to resample the raster
data, and to generate new raster data by rendering the existing data in various ways.
QgsRasterInterface
This class can be used to calculate distances and areas for a given geometry, automatically converting from the
source coordinate reference system into meters.
QgsDistanceArea
QgsMapLayerRegistry This class provides access to all the registered map layers in the current project.
This class provides general logging features within a QGIS program. This lets you send debugging messages,
warnings, and errors to the QGIS "Log Messages" panel.
QgsMessageLog
Search WWH ::




Custom Search