- 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.
- Python編程自學(xué)手冊(cè)
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- Android NDK Beginner’s Guide
- Mastering macOS Programming
- Apache Mesos Essentials
- Java項(xiàng)目實(shí)戰(zhàn)精編
- Python機(jī)器學(xué)習(xí)算法與實(shí)戰(zhàn)
- Visual Basic程序設(shè)計(jì)實(shí)踐教程
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學(xué)版)
- Mastering React
- 深入淺出Go語言編程
- IDA Pro權(quán)威指南(第2版)
- Instant Zurb Foundation 4
- QPanda量子計(jì)算編程
- Visual Basic程序設(shè)計(jì)全程指南