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

Introduction

This chapter will get the grunt work done for you so that you can freely and actively complete all the recipes in this book. We will start off by installing, each of the libraries you will be using, one by one. Once each step is completed, we will test each library installation to make sure it works. Since this book is directed toward those of you already working with spatial data, you can skip this chapter if you have it installed already. If not, you will find the installation instructions here useful as a reference.

The choice of Python libraries is based on industry-proven reliability and functionality. The plethora of functions in Python libraries has led to a flourishing GIS support on many top desktop GIS systems, such as QGIS and ESRI ArcGIS.

Also included in this book is an installer.sh bash file. The installer.sh file can be used to install the Python libraries that are available for your virtual environment from pip and other dependencies via the apt-get command. The installer.sh bash file is executed from the command line and installs almost everything in one go, so please take a look at it. For those of you who are starting with Python for the first time, follow the instructions in this chapter and your machine will be set up to complete different recipes.

Installations can sometimes be tricky even for advanced users, so you will find some of the most common pitfalls and hook-ups described in this chapter.

The development of these recipes was completed on a fresh Linux/Ubuntu 14.04 machine. Therefore, the code examples, if not otherwise specified, are Linux/Ubuntu-specific with Windows notes wherever necessary, unless otherwise specified.

主站蜘蛛池模板: 富源县| 莱西市| 伊宁市| 涟源市| 墨玉县| 高邮市| 洪湖市| 龙门县| 巩留县| 辛集市| 东宁县| 北票市| 盘山县| 柳河县| 奉化市| 香河县| 新竹县| 迭部县| 德格县| 福州市| 巢湖市| 饶阳县| 西和县| 定安县| 信阳市| 绥棱县| 台北县| 中宁县| 佛冈县| 东台市| 武汉市| 井陉县| 禹州市| 新巴尔虎左旗| 盱眙县| 水富县| 宣城市| 格尔木市| 福安市| 都昌县| 永登县|