Converting output file from grid numbers to latitude and longitude
Converting output file from grid numbers to latitude and longitude
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?

 Site Admin
 Posts: 1595
 Joined: Wed Dec 27, 2006 11:00 pm
 Location: Essen/ Germany
 Contact:
Re: Converting output file from grid numbers to latitude and longitude
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
Michael
Re: Converting output file from grid numbers to latitude and longitude
Okay thank you sir. I will try changing in to some known unit.
Re: Converting output file from grid numbers to latitude and longitude
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
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
Re: Converting output file from grid numbers to latitude and longitude
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
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
Re: Converting output file from grid numbers to latitude and longitude
I tried and I am able to convert my grid cell to lat long using this
Thank you so much.
regards,
Dishant
Thank you so much.
regards,
Dishant