I having a little trouble figuring out how to convert between types of coordinates. I have a list of coordinate sets with the following description. I have been searching around and did find some code to do this, but it does not SQL Query.
"Coordinates are always in the WGS84 system. All coordinates a represented as Decimal values x and y.
An example:
Ellipsoid:
wgs84 (world geodetic system 1984)
UTM Zone:
39 - 48E to 54E
UTM Projection:
X, m: 702964.0000 -------> latitude : 27.7818550282488
Y, m: 3074740.0000 -------> longitude : 53.0598812425032
The query should be SQL Server Query.
Well, I need to convert these to long/lat
Anyone who can provide some code for doing this?
Here is a db<>fiddle.