问题
My client would like me to implement geolocation in a mobile application. He want me to use a map which is quite deformed (definitely not a google-like map). Is it an easy way to transform the GPS coordinates into the coordinates on that deformed map?
I get the coordinates (X0,Y0) from the GPS -> I need the location on my client's map (X1,Y1)
回答1:
Dude, you should try http://trimaps.com. It does exactly what you are looking for!
回答2:
You need to know the mapping from the client map to real world co-ordinates. Either ask your client, or perhaps you could overlay it on a google map of the same area in photoshop and work out how much you need to stretch it by in each dimension, this might get you close enough if the distortion is linear.
来源:https://stackoverflow.com/questions/6534691/how-to-geolocalize-on-custom-maps-iphone-and-android