In this chapter, we will cover the following recipes:
Loading a vector layer from a file
Loading a vector layer from a geodatabase
Examining vector layer features
Examining vector layer attributes
Filtering a layer by geometry
Filtering a layer by attributes
Buffering a feature
Measuring the distance between two points
Measuring the distance along a line
Calculating the area of a polygon
Creating a spatial index
Calculating the bearing of a line