Skip to content

How can I convert X-coord and Y-coord in INP file to standard latitude and longitude? #200

Answered by CedarSnowy
CedarSnowy asked this question in Q&A
Discussion options

You must be logged in to vote

I think I have solved this question,and I use following code:

PATH = "./config/Example1.inp"
crs = "epsg:3728"  # Coordinate Reference System
m = swmmio.Model(PATH, crs=crs)

m.to_crs("EPSG:4326")
res = m.inp.polygons.round(5)
res.info()

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by CedarSnowy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant