in reply to Converting Pixels to LatLong

That depends on the projection used to obtain the map image.

This post is wrong from this point on.

If you draw a three points on the map such that
Ay == By && Ax != Bx
Ax == Cx && Ay != Cy

+=====================+ # # # A-------------B # # | # # | # # C # # # +=====================+

Is Alat == Blat && Along == Clong?

Replies are listed 'Best First'.
Re^2: Converting Pixels to LatLong
by akho (Hermit) on Feb 14, 2007 at 19:19 UTC
    No.

    If the Mercator projection was used, then Alat == Blat && Along == Clong, but pixels near the poles and pixels on the equator represent very different long values.

    It's hard to find out which projection was used if you only look at a finite number of points.

    Finding a map with a known projection for use in the program seems a better way to do it.

      Shoot! I mixed up distances with long/lat somewhere along the way.