先决条件#
Pre-requisites
如果您想跟随本章中的示例,请确保您的计算机上已安装以下Python库:
GDAL/OGR 版本 1.9 或更高版本 (http://gdal.org)
pyproj 版本 1.9.2 或更高版本 (http://code.google.com/p/pyproj)
Shapely 版本 1.2 或更高版本 (http://trac.gispython.org/lab/wiki/Shapely)
有关这些库的更多信息以及如何使用它们,包括每个库的API文档的参考,请参阅第3章《Python地理空间开发库》。
If you want to follow through the examples in this chapter, make sure you have the following Python libraries installed on your computer:
GDAL/OGR Version 1.9 or later (http://gdal.org)
pyproj Version 1.9.2 or later (http://code.google.com/p/pyproj)
Shapely Version 1.2 or later (http://trac.gispython.org/lab/wiki/Shapely)
For more information about these libraries and how to use them, including references to the API documentation for each library, please refer to Chapter 3, Python Libraries for Geospatial Development.