Here's a maths question that may or may not be interesting:I have this image (a map) that will be displayed on a Computer.I need to display things (for which I have latitude and longitude) on the map.The basic question is: what's the best way to convert lat/long to pixels on the map?If I have exactly two reference points on the map (i.e. two pixels for which I know the lat/long) then it's a pretty trival exercise in scaling to find a pixel for any other lat/long.But the map is a flat projection of part of a not-quite-sphere (Earth), so I'd like to use more reference points. (e.g. let's say 4 pixels on the map, for which I know lat/long).So the deeper question is: what's the best way to convert a position from lat/long to pixel on an image, where an arbitrary number of such conversions are known in advance?Thanks,Note 1: This is not a scenario where I can use MS Virtual Earth nor Google Earth.Note 2: I can't quantify the average "error" that I'd get if I just used two reference points and my easy scaling method. i.e. I don't know if I'm wasting time with my "deeper" question.Note 3: It's just for a kind of human readable report. No aircraft will crash into mountains due to use (or misuse) of this map.



LinkBack URL
About LinkBacks
Reply With Quote
