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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/PicLayer

    v4 v5  
    3737
    3838
    39 For those interested in converting calibration data in PicLayer:
    40 
    41 INITIAL_SCALE is the initial size of 100 image pixels (length of ruler in JOSM).
    42 
    43 SCALEX/Y is the factor after changing the size of the raster image relative to JOSM data layer.
    44 
    45 INITIAL_POS_y/X are the coordinates of the image center in mercator projection.
    46 
    47 POSITION_X/Y are the coordinates after shifting the raster image relative to JOSM data layer.
    48 
    49 ANGLE is the angle in degrees (clockwise -> positive) when the raster image is rotated.
    50 
    51 Mercator units are arc units in longitude (PI <-> 180).
    52 
    53 Latitude is a bit complicated because this projection preserves angles but not areas:
    54 y = ln(tan(45+b/2))
    55 where b is in degrees, ln ist the natural logarithm and tan ist the tangent.
    56 
    57 The longitude in degrees l is obtained from x via l = x*180/PI.
    58 
    59 The latitude b can be calculated from y by b = 2*arctan(e power y) - 45 (when inverse tangent returns degrees).
    60 
    61 When 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 
     39For those interested in converting calibration data in PicLayer:[[BR]]
     40INITIAL_SCALE is the initial size of 100 image pixels (length of ruler in JOSM).[[BR]]
     41SCALEX/Y is the factor after changing the size of the raster image relative to JOSM data layer.[[BR]]
     42INITIAL_POS_y/X are the coordinates of the image center in mercator projection.[[BR]]
     43POSITION_X/Y are the coordinates after shifting the raster image relative to JOSM data layer.[[BR]]
     44ANGLE is the angle in degrees (clockwise -> positive) when the raster image is rotated.[[BR]]
     45Mercator units are arc units in longitude (PI <-> 180).[[BR]]
     46Latitude is a bit complicated because this projection preserves angles but not areas:[[BR]]
     47y = ln(tan(45+b/2))[[BR]]
     48where b is in degrees, ln ist the natural logarithm and tan ist the tangent.[[BR]]
     49The longitude in degrees l is obtained from x via l = x*180/PI.[[BR]]
     50The latitude b can be calculated from y by b = 2*arctan(e!**y) - 45 (when inverse tangent returns degrees).[[BR]]
     51When 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.[[BR]]
    6352At 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%).
    6453