Converting output file from grid numbers to latitude and longitude

All around LEONARDO 4 (and previous 2014)
Dishant
Posts: 23
Joined: Thu Nov 01, 2018 5:35 am

Converting output file from grid numbers to latitude and longitude

Postby Dishant » Mon Nov 12, 2018 8:23 am

I'm working in a project and required to convert the output excel file grid number(X,Y) to respective latitude and longitude. So is is possible to convert the grid to latitude longitude? If yes, How?

enviadmin
Site Admin
Posts: 1592
Joined: Wed Dec 27, 2006 11:00 pm
Location: Essen/ Germany
Contact:

Re: Converting output file from grid numbers to latitude and longitude

Postby enviadmin » Mon Nov 12, 2018 8:46 am

Sure not the grid number. You need to convert that to some metric unit in a known projection system first, eg UTM. Then you google for code to tansfer UTM to WGS. Not trivial

Michael

Dishant
Posts: 23
Joined: Thu Nov 01, 2018 5:35 am

Re: Converting output file from grid numbers to latitude and longitude

Postby Dishant » Mon Nov 12, 2018 2:05 pm

Okay thank you sir. I will try changing in to some known unit.

Dishant
Posts: 23
Joined: Thu Nov 01, 2018 5:35 am

Re: Converting output file from grid numbers to latitude and longitude

Postby Dishant » Tue Nov 20, 2018 6:04 am

Sir,
Can I know that how can I convert that output file into some known form. i.e. UTM ? . Can you please explain with some example or refrence

Tim
Posts: 1089
Joined: Mon May 15, 2017 3:46 pm

Re: Converting output file from grid numbers to latitude and longitude

Postby Tim » Tue Nov 20, 2018 10:48 am

Hi,

you can use a website where the longitude latitude coordinates of the lower left corner (given in your model area information) are converted into UTM coordinates. Since UTM is meter based, you can easily calculate the coordinates of each grid cell:
X coordinates = X value of UTM coordinates of lower left grid cell + (gridcell position X * dx)
Y coordinates = Y value UTM coordinates of lower left grid cell + (gridcell position Y * dx)

Best regards
Tim

Dishant
Posts: 23
Joined: Thu Nov 01, 2018 5:35 am

Re: Converting output file from grid numbers to latitude and longitude

Postby Dishant » Wed Sep 04, 2019 11:29 am

I tried and I am able to convert my grid cell to lat long using this

Thank you so much.


regards,
Dishant


Return to “LEONARDO 4”

Who is online

Users browsing this forum: No registered users and 1 guest