geopandas.GeoDataFrame.estimate_utm_crs#
- GeoDataFrame.estimate_utm_crs(datum_name='WGS 84')#
根据数据集的边界返回估计的UTM CRS。
0.9 新版功能.
备注
需要pyproj 3+
- 参数
- datum_name字符串,可选
要在查询中使用的基准的名称。默认为WGS 84。
- 退货
- pyproj.CRS
示例
>>> world = geopandas.read_file( ... geopandas.datasets.get_path("naturalearth_lowres") ... ) >>> germany = world.loc[world.name == "Germany"] >>> germany.estimate_utm_crs() <Projected CRS: EPSG:32632> Name: WGS 84 / UTM zone 32N Axis Info [cartesian]: - E[east]: Easting (metre) - N[north]: Northing (metre) Area of Use: - name: World - N hemisphere - 6°E to 12°E - by country - bounds: (6.0, 0.0, 12.0, 84.0) Coordinate Operation: - name: UTM zone 32N - method: Transverse Mercator Datum: World Geodetic System 1984 - Ellipsoid: WGS 84 - Prime Meridian: Greenwich