Created
November 23, 2022 11:48
-
-
Save todashuta/80d55c6f08c68cee24fc71f6ed80bc2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pyproj import Transformer | |
| # EPSG:4326 WGS84 地理座標系(緯度経度) | |
| # EPSG:6677 JGD2011 IX(9)系 | |
| transformer = Transformer.from_crs(4326, 6677) | |
| # 緯度経度 (十進法度単位) | |
| lat = 36.103774792 # 緯度 | |
| lon = 140.087855042 # 経度 | |
| result = transformer.transform(lat, lon) | |
| print(result) # (11543.688358545745, 22916.243584267566) 平面直角座標系 X座標 Y座標 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment