geopandas.GeoDataFrame.crs#
- property GeoDataFrame.crs#
坐标参考系(CRS)表示为
pyproj.CRS
对象。如果未设置CRS,则返回None,若要设置值,则返回None :getter: Returns a
pyproj.CRS
or None. When setting, the value can be anything accepted bypyproj.CRS.from_user_input()
例如,授权字符串(例如“EPSG:4326”)或WKT字符串。参见
GeoDataFrame.set_crs
分配CRS
GeoDataFrame.to_crs
重新投影到另一个CRS
示例
>>> gdf.crs <Geographic 2D CRS: EPSG:4326> Name: WGS 84 Axis Info [ellipsoidal]: - Lat[north]: Geodetic latitude (degree) - Lon[east]: Geodetic longitude (degree) Area of Use: - name: World - bounds: (-180.0, -90.0, 180.0, 90.0) Datum: World Geodetic System 1984 - Ellipsoid: WGS 84 - Prime Meridian: Greenwich