Changes between Version 3 and Version 4 of Help/Plugin/PicLayer
- Timestamp:
- 2010-10-10T22:48:58+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Plugin/PicLayer
v3 v4 36 36 This 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 37 38 38 39 For those interested in converting calibration data in PicLayer: 40 39 41 INITIAL_SCALE is the initial size of 100 image pixels (length of ruler in JOSM). 42 40 43 SCALEX/Y is the factor after changing the size of the raster image relative to JOSM data layer. 44 41 45 INITIAL_POS_y/X are the coordinates of the image center in mercator projection. 46 42 47 POSITION_X/Y are the coordinates after shifting the raster image relative to JOSM data layer. 48 43 49 ANGLE is the angle in degrees (clockwise -> positive) when the raster image is rotated. 50 44 51 Mercator units are arc units in longitude (PI <-> 180). 52 45 53 Latitude is a bit complicated because this projection preserves angles but not areas: 46 54 y = ln(tan(45+b/2)) 47 55 where b is in degrees, ln ist the natural logarithm and tan ist the tangent. 56 48 57 The longitude in degrees l is obtained from x via l = x*180/PI. 58 49 59 The latitude b can be calculated from y by b = 2*arctan(e power y) - 45 (when inverse tangent returns degrees). 60 50 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 51 63 At 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 64