There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "But what about the remaining 13 rows? They will now have no entry for the small_area field."
A block of code is set as follows:
my_features = v_layer.getFeatures()
for feature in my_features:
print (feature.attributes())
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
my_features = v_layer.getFeatures()
for feature in my_features:
print (feature.attributes())
Any command-line input or output is written as follows:
[1, 18, 78.0, 'NOATAK', 'Other']
[2, 18, 264.0, 'AMBLER', 'Other']
[3, 26, 585.0, 'BETTLES', 'Other']
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "This can be done by going to Layer Properties | Style | Save Style | QGIS Layer Style File, or, alternatively, you can use any other style you like."
Warnings or important notes appear like this.
Tips and tricks appear like this.