Graphics Reference
In-Depth Information
The qgis.core package
The qgis.core package defines fundamental classes used throughout the QGIS system.
A large part of this package is dedicated to working with vector and raster format geospa-
tial data, and displaying these types of data within a map. Let's see how this is done.
Maps and map layers
A map consists of multiple layers drawn one on top of the other:
There are three types of map layers supported by QGIS:
Vector layer : This layer draws geospatial features such as points, lines, and poly-
gons
Raster layer : This layer draws raster (bitmapped) data onto a map
Plugin layer : This layer allows a plugin to draw directly onto a map
Each of these types of map layers has a corresponding class within the qgis.core lib-
rary. For example, a vector map layer will be represented by an object of type
qgis.core.QgsVectorLayer .
Search WWH ::




Custom Search