1. 主页
  2. 文档
  3. GeoPandas 0.12.2中文文档
  4. Advanced Guide
  5. Re-projecting using GDAL with Rasterio and Fiona

Re-projecting using GDAL with Rasterio and Fiona

The simplest method of re-projecting is GeoDataFrame.to_crs(). It uses pyproj as the engine and transforms the points within the geometries.

最简单的重新投影方法是 GeoDataFrame.to_crs()。它使用 pyproj 作为引擎并转换几何中的点。

These examples demonstrate how to use Fiona or rasterio as the engine to re-project your data. Fiona and rasterio are powered by GDAL and with algorithms that consider the geometry instead of just the points the geometry contains. This is particularly useful for antimeridian cutting. However, this also means the transformation is not as fast.

这些示例演示了如何使用 Fiona 或 rasterio 作为重新投影数据的引擎。 Fiona 和 rasterio 由 GDAL 提供支持,并使用考虑几何而不只是几何包含的点的算法。这对于反子午线切割特别有用。然而,这也意味着转换没有那么快。

文章

标签 , ,
这篇文章对您有用吗?

我们要如何帮助您?

欢迎留下您的宝贵建议

Please enter your comment!
Please enter your name here