| 71 | |
| 72 | == Using auto calibration action == |
| 73 | |
| 74 | This action helps you to position and calibrate an image (preferably a floor plan) into the world map. |
| 75 | |
| 76 | '''What do I need to use this action?''' |
| 77 | * an image, preferably a floor plan |
| 78 | * information about side length of building |
| 79 | * an .osm or .gpx file with building outline coordinates |
| 80 | |
| 81 | '''How do I start calibration?''' |
| 82 | * 1. open the image file and switch to the image layer so you can see the [[osmwiki:JOSM/Plugins/PicLayer|PicLayer]] modes on left side |
| 83 | * 2. enter the "Calibrate Picture with outline" mode |
| 84 | * 3. follow the window |
| 85 | * 3.1 select '''edge points''' (example in picture) |
| 86 | |
| 87 | [[Image(set_edge_points.png, 300px)]] |
| 88 | |
| 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 |
| 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 | |
| 110 | For more information about why do I need to insert distances and why the image usually does not fit exactly in the outline file, see [[osmwiki:JOSM/Plugins/PicLayer|PicLayer Page]]. |
| 111 | |
| 112 | |