geopandas.GeoDataFrame.estimate_utm_crs#

GeoDataFrame.estimate_utm_crs(datum_name='WGS 84')[来源]#

根据数据集的边界返回估计的UTM坐标参考系统。

在版本 0.9 中添加。

Parameters:
datum_namestr, optional

查询中使用的数据源名称。默认为 WGS 84。

Returns:
pyproj.CRS

示例

>>> import geodatasets
>>> df = geopandas.read_file(
...     geodatasets.get_path("geoda.chicago_health")
... )
>>> df.estimate_utm_crs()  
<Derived Projected CRS: EPSG:32616>
Name: WGS 84 / UTM zone 16N
Axis Info [cartesian]:
- E[east]: Easting (metre)
- N[north]: Northing (metre)
Area of Use:
- name: Between 90°W and 84°W, northern hemisphere between equator and 84°N...
- bounds: (-90.0, 0.0, -84.0, 84.0)
Coordinate Operation:
- name: UTM zone 16N
- method: Transverse Mercator
Datum: World Geodetic System 1984 ensemble
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich