简体   繁体   中英

Convert latitude longitude to x,y point on a rectangle

It seems that there are lots of information both in Google and here, that speak a lot about many different conversions of latitude,longitude.

So what i'm asking is for you to be simple as possible, and try not sending me to other places to seek an answer.

I am trying to put the entire world in to 2D square, where each point represent the distance(in meters) from a point which I choose to define it (0,0) , Can you give me a mathematical algorithm to do so.

You could either use a azimuthal equidistant or two-point equidistant projection.

Of these the azimuthal equidistant is easiest. To do this, just start at your reference point on the world, and put this in the center of your map. Then proceed outward in concentric circles on the map, and for each new circle plot all the points on the world at the appropriate distance and angle.

After doing this, your map should look like a circle, and all of the points will be the correct distance from your center point.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM