官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "This uses the QGIS_PREFIX environment variable we set earlier to tell QGIS where to find its resources."

A block of code is set as follows:

app = QApplication(sys.argv)

viewer = MapViewer("/path/to/shapefile.shp")
viewer.show()

app.exec_()

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

  def unload(self):
    self.iface.removePluginMenu("Test Plugin", self.action)
 self.iface.removeToolBarIcon(self.action)

Any command-line input or output is written as follows:

export PYTHONPATH="$PYTHONPATH:/Applications/QGIS.app/Contents/Resources/python"

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "If you haven't already installed QGIS, click on the Download Now button on the main QGIS web page to download the QGIS software."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 和平县| 庄浪县| 涞水县| 梧州市| 毕节市| 台南市| 华宁县| 樟树市| 固原市| 栖霞市| 基隆市| 永泰县| 金秀| 石首市| 扎赉特旗| 岳阳县| 黑龙江省| 通渭县| 根河市| 柘荣县| 仁怀市| 新乐市| 商都县| 阿荣旗| 莱芜市| 丘北县| 宜川县| 雷山县| 五家渠市| 馆陶县| 常宁市| 永寿县| 迁西县| 清远市| 龙门县| 博兴县| 安阳县| 连江县| 涞水县| 井研县| 常山县|