- Python Geospatial Analysis Cookbook
- Michael Diener
- 173字
- 2021-07-30 10:13:20
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "If workon
for some reason does not start your virtual environment, you can start it simply by executing source /home/mdiener/.venvs/pygeoan_cb/bin/activate
from the command line."
A block of code is set as follows:
#!/usr/bin/env python # -*- coding: utf-8 -*- from osgeo import ogr shp_driver = ogr.GetDriverByName('ESRI Shapefile') shp_dataset = shp_driver.Open(r'../geodata/schools.shp') shp_layer = shp_dataset.GetLayer() shp_srs = shp_layer.GetSpatialRef() print shp_srs
Any command-line input or output is written as follows:
$ sudo apt-get install python-setuptools python-pip
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Select Route To: and enter 2
to see the second floor options."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應(yīng)用教程(第2版)
- Git Version Control Cookbook
- 兩周自制腳本語言
- 趣學(xué)Python算法100例
- 數(shù)據(jù)結(jié)構(gòu)簡明教程(第2版)微課版
- 網(wǎng)絡(luò)爬蟲原理與實(shí)踐:基于C#語言
- 信息技術(shù)應(yīng)用基礎(chǔ)
- Apache Spark 2.x for Java Developers
- Visual FoxPro程序設(shè)計(jì)習(xí)題集及實(shí)驗(yàn)指導(dǎo)(第四版)
- 現(xiàn)代C++編程實(shí)戰(zhàn):132個(gè)核心技巧示例(原書第2版)
- INSTANT Silverlight 5 Animation
- ExtJS Web應(yīng)用程序開發(fā)指南第2版
- SQL Server 入門很輕松(微課超值版)
- Mastering PowerCLI
- Professional JavaScript