I'm trying to convert lat/lon coordinates into x,y coordinates onto an image of a fixed size (800x600)
I know the maximum lat/long and the minimum lat/long and I know the image size, is it possible to do extrapolation of some sort to work out where a list of points should fit on the image ?
I'm assuming that long = x and lat = y and that the points are very close so hopefully we don't need to worry about projection or curvature
I think this is simple maths but I can't seem to figure it out properly, basically I want the smallest Long to be 0 and the largest Long to be 800 and the smallest lat to be 0 and the largest lat to be 600
For example,
Min Lat 57.45827 Max Lat 57.459293 Min Lon -1.8792678 Max Lon -1.8783669
So what would the x,y coordinates of 57.459132,-1.8787674 be ?
Thanks guys