Changes between Version 1 and Version 2 of Help/Plugin/PicLayer


Ignore:
Timestamp:
2010-10-10T22:46:41+02:00 (15 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/PicLayer

    v1 v2  
    3535
    3636This plugin is meant to help with mapping from photos (for me it's mostly buildings) for people who simply don't like MetaCarta Rectifier.
     37
     38For those interested in converting calibration data in PicLayer:
     39INITIAL_SCALE is the initial size of 100 image pixels (length of ruler in JOSM).
     40SCALEX/Y is the factor after changing the size of the raster image relative to JOSM data layer.
     41INITIAL_POS_y/X are the coordinates of the image center in mercator projection.
     42POSITION_X/Y are the coordinates after shifting the raster image relative to JOSM data layer.
     43ANGLE is the angle in degrees (clockwise -> positive) when the raster image is rotated.
     44Mercator units are arc units in longitude (PI <-> 180).
     45Latitude is a bit complicated because this projection preserves angles but not areas:
     46y = ln(tan(45+b/2))
     47where b is in degrees, ln ist the natural logarithm and tan ist the tangent.
     48The longitude in degrees l is obtained from x via l = x*180/PI.
     49The latitude b can be calculated from y by b = 2*arctan(e**y) - 45 (when inverse tangent returns degrees).
     50When transforming longitude degree differences of image corners to distance, you have to take into account that one degree east-west has different size dependent on latitude.
     51At equator 1 degree -> d0 = 111.3 km, at latitude b you get d = d0/cos(b)(only exact for sphere, but deviation from ellipsoid < 0.5%).
     52
     53
     54