擅长:python、mysql、java
<blockquote>
<p>Similar information can be found <a href="https://rasterio.readthedocs.io/en/latest/faq.html" rel="nofollow noreferrer">on a rasterio FAQ</a> and in <a href="https://stackoverflow.com/questions/26034782/unable-to-load-gcs-csv-file-in-gdal">unable to load "gcs.csv" file in gdal</a>.</p>
</blockquote>
<p>我在anaconda3qgis环境中运行GDAL转换时遇到了这个问题。问题是没有通过<code>GDAL_DATA</code>环境变量加载坐标系信息。在</p>
<p>要补救,请找到包含gcs.csv版存在于系统中(可能是“../Library/share/gdal”)。在导入GDAL和其他依赖项之前,将其添加到您的环境中。在</p>
<pre><code>import os
os.environ['GDAL_DATA'] = r'/path/to/dir/'
</code></pre>