easyidp.shp.read_proj#
- easyidp.shp.read_proj(prj_path)#
read *.prj file to pyproj object
- パラメータ:
prj_path (str) -- the file path of shp *.prj
- 戻り値の型:
<pyproj.CRS> object
サンプル
>>> import easyidp as idp >>> test_data = idp.data.TestData() >>> prj_path = test_data.shp.roi_prj PosixPath('/Users/<user>/Library/Application Support/easyidp.data/data_for_tests/shp_test/roi.prj') >>> out_proj = idp.shp.read_proj(prj_path) >>> out_proj <Derived Projected CRS: EPSG:32654> Name: WGS 84 / UTM zone 54N Axis Info [cartesian]: - E[east]: Easting (metre) - N[north]: Northing (metre) Area of Use: - undefined Coordinate Operation: - name: UTM zone 54N - method: Transverse Mercator Datum: World Geodetic System 1984 - Ellipsoid: WGS 84 - Prime Meridian: Greenwich