| 19 | | 1. Click the '''Imagery''' menu and either choose '''New picture layer from file''' or '''New picture layer from clipboard'''. |
| 20 | | a. If you chose file, a file selector will pop-up. Pick the image you want. All formats supported by Java (GIF with transparency) and furthermore ZIP as container and KML [#5451 experimental] are possible. |
| 21 | | b. If you chose clipboard, importing the image data may take some time. |
| | 21 | 1. Click the **Imagery** menu and either choose **New picture layer from file** or **New picture layer from clipboard**. |
| | 22 | a. If you chose file, a file selector will pop-up. Pick the image you want. All formats supported by Java (GIF with transparency) and furthermore ZIP as container and KML (#5451 experimental) are possible. |
| | 23 | a. If you chose clipboard, importing the image data may take some time. |
| 28 | | b. Rotate the image by choosing 'Rotate' from the toolbar and drag. |
| 29 | | c. Scale the image by choosing 'Scale' from the toolbar and drag. |
| 30 | | d. You can also choose to scale in just one axis by selecting the proper button. |
| 31 | | |
| 32 | | 6. If you need to reset your changes - you can use the context menu from the !PicLayer entry in the layer list. |
| | 30 | a. Rotate the image by choosing 'Rotate' from the toolbar and drag. |
| | 31 | a. Scale the image by choosing 'Scale' from the toolbar and drag. |
| | 32 | a. You can also choose to scale in just one axis by selecting the proper button. \\ \\ |
| | 33 | 1. If you need to reset your changes - you can use the context menu from the !PicLayer entry in the layer list. |
| 39 | | For those interested in converting calibration data in !PicLayer:[[BR]] |
| 40 | | * {{{INITIAL_SCALE}}} is the initial size of 100 image pixels (length of ruler in JOSM). |
| 41 | | * {{{SCALEX/Y}}} is the factor after changing the size of the raster image relative to JOSM data layer. |
| 42 | | * {{{INITIAL_POS_y/X}}} are the coordinates of the image center in mercator projection. |
| 43 | | * {{{POSITION_X/Y}}} are the coordinates after shifting the raster image relative to JOSM data layer. |
| 44 | | * {{{ANGLE}}} is the angle in degrees (clockwise -> positive) when the raster image is rotated. |
| | 40 | For those interested in converting calibration data in !PicLayer: \\ |
| | 41 | * `INITIAL_SCALE` is the initial size of 100 image pixels (length of ruler in JOSM). |
| | 42 | * `SCALEX/Y` is the factor after changing the size of the raster image relative to JOSM data layer. |
| | 43 | * `INITIAL_POS_y/X` are the coordinates of the image center in mercator projection. |
| | 44 | * `POSITION_X/Y` are the coordinates after shifting the raster image relative to JOSM data layer. |
| | 45 | * `ANGLE` is the angle in degrees (clockwise -> positive) when the raster image is rotated. |
| 85 | | * 3.1 select '''edge points''' (example in picture) |
| | 84 | * 3.1 select **Building Corner Point** (example in picture : edge points) |
| | 85 | * 3.2 enter **True Distances** - if you select the text field a green line will pop up and show you which distance on the image is required. Please enter the real distance in meter between the two points. |
| | 86 | * 3.3 open the **Building Reference File** - open a .osm or .gpx file with coordinates of building outline or select a layer as reference |
| | 87 | * 3.4 select **Building Reference Points** |
| | 88 | * 3.4.1 mode selection - if the building outline coordinates are already defined in layer, select **defined** mode (.osm files only), if you want to set the coordinates somewhere on layer, select **manual** mode |
| | 89 | * 3.4.2 select the same points as in step 3.1, now only on your real building outline (example in picture) |
| | 90 | * 3.5 **run** calibration - **result** |
| 89 | | * 3.2 enter '''distances''' - if you select the text field a green line will pop up and show you which distance on the image is required. Please enter the real distance in meter between the two points. |
| 90 | | |
| 91 | | [[Image(select_distances.png, 300px)]] |
| 92 | | |
| 93 | | * 3.3 open the '''reference file''' - open a .osm or .gpx file with coordinates of building outline or select a layer as reference |
| 94 | | * 3.4 select '''reference points''' |
| 95 | | * 3.4.1 mode selection - if the building outline coordinates are already defined in layer, select '''defined''' mode (.osm files only), if you want to set the coordinates somewhere on layer, select '''manual''' mode |
| 96 | | * 3.4.2 select the same points as in step 3.1, now only on your real building outline (example in picture) |
| 97 | | |
| 98 | | [[Image(select_ref_points.png, 300px)]] |
| 99 | | |
| 100 | | * 3.5 '''run''' calibration - '''result''' |
| 101 | | |
| 102 | | [[Image(final_cali.png, 300px)]] |
| 103 | | |
| 104 | | |
| 105 | | |
| 106 | | '''Note:''' Sometimes the image does not fit exactly into the outline, see ''More Information''! |
| 107 | | |
| 108 | | '''More information''' |
| 109 | | |
| | 94 | **More information** |