1. 主页
  2. 文档
  3. GeoPandas 0.12.2中文文档
  4. User Guide
  5. Managing Projections
  6. Coordinate Reference Systems

Coordinate Reference Systems

The Coordinate Reference System (CRS) is important because the geometric shapes in a GeoSeries or GeoDataFrame object are simply a collection of coordinates in an arbitrary space. A CRS tells Python how those coordinates relate to places on the Earth.

坐标参考系统 (CRS) 很重要,因为 GeoSeries 或 GeoDataFrame 对象中的几何形状只是任意空间中的坐标集合。 CRS 告诉 Python 这些坐标如何与地球上的位置相关。

You can find the codes for most commonly used projections from www.spatialreference.org.

您可以从 www.spatialreference.org 找到最常用投影的代码。

The same CRS can often be referred to in many ways. For example, one of the most commonly used CRS is the WGS84 latitude-longitude projection. This can be referred to using the authority code "EPSG:4326".

同一个 CRS 通常可以有多种引用方式。例如,最常用的 CRS 之一是 WGS84 经纬度投影。这可以使用权限代码“EPSG:4326”来表示。

geopandas can accept anything accepted by pyproj.CRS.from_user_input():

geopandas可以接受任何由pyproj.CRS.from_user_input()接受的内容。

  • CRS WKT string
  • An authority string (i.e. “epsg:4326”)
  • An EPSG integer code (i.e. 4326)
  • pyproj.CRS
  • An object with a to_wkt method.
  • PROJ string
  • Dictionary of PROJ parameters
  • PROJ keyword arguments for parameters
  • JSON string with PROJ parameters

For reference, a few very common projections and their EPSG codes:

作为参考,一些非常常见的投影及其 EPSG 代码:

  • WGS84 Latitude/Longitude: "EPSG:4326"
  • UTM Zones (North): "EPSG:32633"
  • UTM Zones (South): "EPSG:32733"
标签 , ,
这篇文章对您有用吗?

我们要如何帮助您?

欢迎留下您的宝贵建议

Please enter your comment!
Please enter your name here