I can't understand the meaning of feature in QGIS QgsFeature
class. How it is related to layer and geometry?
I have read QGIS documentation but I can't understand what is feature.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI can't understand the meaning of feature in QGIS QgsFeature
class. How it is related to layer and geometry?
I have read QGIS documentation but I can't understand what is feature.
Notwithstanding whether there are non-geographical features, I think of a feature as being something with geometry (x,y etc) and attributes i.e. a feature is more than geometry. Then when a feature (as part of a feature class) is displayed on a map it also has symbology (points drawn in red dots of 10pts, etc) and can be referred to as part of a layer.
In other words, glossing over many details:
A feature means geographic feature (has geometry). Consequently, if it doesn't have geometry, it's not a feature.