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

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.

主站蜘蛛池模板: 南华县| 宣武区| 大洼县| 肇庆市| 东乡| 安义县| 分宜县| 龙海市| 南安市| 黄梅县| 龙川县| 岳普湖县| 马尔康县| 新蔡县| 五原县| 济宁市| 芦溪县| 云浮市| 紫云| 阿荣旗| 霸州市| 韶山市| 麻栗坡县| 穆棱市| 额尔古纳市| 平罗县| 吴忠市| 衡东县| 鄱阳县| 长汀县| 永修县| 克山县| 棋牌| 砀山县| 舞钢市| 禄丰县| 孝昌县| 桓台县| 昭平县| 土默特右旗| 开封县|