首先，您需要确保gdal版本仍为2.x。如果否，则将其删除。 conda remove rasterio gdal -y. 然后使用指定的安装版本重新安装gdal： conda install rasterio gdal = 2-y. 然后，您需要在Windows中为我添加GDAL_DATA其中包含gcs.csv文件的文件：
If the source and destination are rasterio Bands, shorthand for bands of datasets on disk, the coordinate reference systems and transforms or GCPs will be read from the appropriate datasets. Parameters. source (ndarray or Band) – The source is a 2 or 3-D ndarray, or a single or a multiple Rasterio Band object. The dimensionality of source and destination must match, i.e., for multiband reprojection the lengths of the first axes of the source and destination must be the same.
Geographic information systems use GeoTIFF and other formats to organize and store gridded raster datasets such as satellite imagery and terrain models. Rasterio reads and writes these formats and provides a Python API based on Numpy N-dimensional arrays and GeoJSON.
Mar 08, 2012 · GDAL gives the possibility to create GDAL virtual formats: it is possible to create a GDAL dataset “composed from other GDAL datasets with repositioning, and algorithms potentially applied as well as various kinds of metadata altered or added. VRT descriptions of datasets can be saved in an XML format normally given the extension .vrt.”
GDAL的RASTERIO功能 GDAL+ Rasterio 库安装方法 python gdal 库中gdal_array 类库出现Intel MKL FATAL ERROR—重新安装numpy类库 python GDAL 影像处理系列之安装GDAL（一） python gdal安装与简单使用 Windows 使用 rasterio 读取 tif 图像 python virtualenv and hug 基于Rasterio与matplotlib的DEM三维展示
Rasterio employs GDAL under the hood for file I/O and raster formatting. Its functions typically accept and return Numpy ndarrays. Rasterio is designed to make working with geospatial raster data more productive and more fun.
.. image:: ./dependencies.svg :target: dependencies.svg :alt: title Notes on GDAL ~~~~~ Within the Python ecosystem, many geospatial libraries interface with the GDAL C++ library for raster and vector input, output, and analysis (e.g. rasterio, rasterstats, geopandas). GDAL is robust, performant, and has decades of great work behind it.