Saturday 21 January 2017

What does feature mean in QGIS?


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.



Answer



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:



  • feature = geometry + attributes


  • feature class = collection of features

  • layer = feature class + symbology


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...