Changes between Version 3 and Version 4 of Help/Plugin/PicLayer


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/PicLayer

    v3 v4  
    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.
    3737
     38
    3839For those interested in converting calibration data in PicLayer:
     40
    3941INITIAL_SCALE is the initial size of 100 image pixels (length of ruler in JOSM).
     42
    4043SCALEX/Y is the factor after changing the size of the raster image relative to JOSM data layer.
     44
    4145INITIAL_POS_y/X are the coordinates of the image center in mercator projection.
     46
    4247POSITION_X/Y are the coordinates after shifting the raster image relative to JOSM data layer.
     48
    4349ANGLE is the angle in degrees (clockwise -> positive) when the raster image is rotated.
     50
    4451Mercator units are arc units in longitude (PI <-> 180).
     52
    4553Latitude is a bit complicated because this projection preserves angles but not areas:
    4654y = ln(tan(45+b/2))
    4755where b is in degrees, ln ist the natural logarithm and tan ist the tangent.
     56
    4857The longitude in degrees l is obtained from x via l = x*180/PI.
     58
    4959The latitude b can be calculated from y by b = 2*arctan(e power y) - 45 (when inverse tangent returns degrees).
     60
    5061When 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.
     62
    5163At 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%).
    5264