I found many algorithms to convert (latitude, longitude) into (X, Y)... however, I cannot verify if the results I'm getting are correct.. I found also this link which does the conversion online.. but I couldn't manage to get any algorithm which gives the same results as the one given by the link..
I would be grateful if anyone has encountered the same problem and can help me
iOS solution
If you're looking for some ready to go code in Objective-C you can check out UTM converter. It is also available as a CocoaPod.
There's a very nice Wikipedia article on UTM. It's got formulas, background, explanations of the different zones, etc...
Eric SIBERT has written a handy coordinates converter. You may use it as a validation tool. If you feel like it, you may even delve into the source code for scrutinity.
来源:https://stackoverflow.com/questions/8342732/convert-gps-latitude-longitude-to-cartesian-x-and-y