[Proj] Calculate map resolution / LCC

Mikael Rittri Mikael.Rittri at carmenta.com
Tue Apr 16 04:46:54 EST 2013

Hello Achim.

I would calculate the resolution like this:

Take the two calibration points that are farthest away;
let's call them P and Q.

1) Compute the true distance in meters between them:

  a) Either take the long/lat coordinates for P and Q,
   and use for example http://geographiclib.sourceforge.net/cgi-bin/Geod

  b) Or else, take the projected coordinates (if you have them),
   and just use the theorem of Pythagoras to calculate the
   distance in meters. (This assumes that the local scale factor of the
   projection is near 1 in the area of interest, which it seems to be.)

2) Compute the image distance between P and Q, in pixels.
    Just use the theorem of Pythagoras on the pixel coordinates.

If the real-world distance between P and Q is s meters,
while the pixel distance is p pixels, then the image resolution
       s / p

meters per pixel.

Best regards,

Mikael Rittri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20130416/6eb9bbfe/attachment.htm 

More information about the Proj mailing list