开发者

How do I convert from this weird Coordinate unit to LngLat for use in Google Maps?

开发者 https://www.devze.com 2023-02-18 13:19 出处:网络
I have a database full of rows if coordinate pairs like this: ux: 6643641 uy: 264274 uz: NULL I have been tasked to make all these coordin开发者_StackOverflow社区ates appear on google maps as points

I have a database full of rows if coordinate pairs like this:

ux: 6643641

uy: 264274

uz: NULL

I have been tasked to make all these coordin开发者_StackOverflow社区ates appear on google maps as points of interest, but nobody could tell me what the hell those coordinates were.

What I need for Google Maps is longitude and lengtitude coordinates. I know the one can be converted to the other, but nothing more.

I realize this might not be the correct place to ask about coordinate systems, but I honestly couldn't think of any other place to state the question.

Thanks for any help!


That's my bad, I now see that there is more data for each row:

CoordSystemNumber: 23

CoordSystemName: EUREF89 UTM Sone 33


I think that format is called UTM. You need to know the Zone and Hemisphere to complete the conversion. Is there other data associated with this?


Tell me if this seems helpful :

x =   882880 meters
y = -4924482 meters
z =  3944130 meters

Geocentric latitude and longitude are not commonly used, but they are defined by
    latitude  = arctan( z / sqrt( x^2 + y^2 ) )
    longitude = arctan( y / x )

Taken from here : http://www.cv.nrao.edu/~rfisher/Ephemerides/earth_rot.html

see this too : http://en.wikipedia.org/wiki/Geographic_coordinate_system


This wikipedia article might offer some help.

The coordinates are often chosen such that one of the numbers represent vertical position, and two or three of the numbers represent horizontal position. A common choice of coordinates is latitude, longitude and elevation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号