Changes between Version 17 and Version 18 of Help/Plugin/PicLayer
- Timestamp:
- 2018-05-14T13:58:56+02:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Plugin/PicLayer
v17 v18 5 5 [[Image(/pluginicon/PicLayer.jar/images/layericon.png,32)]] 6 6 7 This plugin is meant for showingimages asabackgroundof the data being edited.7 This plugin shows images as background in JOSM. 8 8 9 It offers two ways of loading the data: 9 It offers two ways of loading the raster image data: 10 10 - from a file and 11 11 - from the clipboard. 12 This is an early version and is not end-user-proof, so please follow the steps exactly in case you want to useit.12 This is an early version and is not end-user-proof, so please follow the steps exactly when using it. 13 13 14 **Note**:Make sure the image is suitable, copyright-wise, if in doubt, don't use.14 Make sure the image is suitable, copyright-wise, if in doubt, don't use. 15 15 16 16 == Usages == 17 1. Load some data from the server so that map is visible. 17 1. Load some data from the server so the map is visible. 18 1. Move and zoom the [wikitr:/Help/MapView MapView] to the estimated target position of the new background image. 18 19 1. Click the '''Imagery''' menu and either choose '''New picture layer from file''' or '''New picture layer from clipboard'''. 19 a. If you chose afile, a file selector will pop-up.Choosethe image you want.Of course the format you are using might not be supported yet :)20 b. If you chose aclipboard,please wait. For some reason it takestime.To be fixed later.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 22 22 **Note**:If something failed, you should get a message box. If not - check the console for messages (Linux only?)23 If something failed, you should get a message box. If not - check the console for messages (Linux only?) 23 24 24 3. Once the image is visible you may start positioningit. For that -select thePicLayer in thelayers list and activate it (!!!).25 4. Once the image is visible you may start to position and calibrate it. For that - activate the !PicLayer layer with the image in the [wikitr:/Help/Dialog/LayerList Layers window]. 25 26 1. Start aligning the image. 26 a. Move the image by choosing 'Move' from the toolbarand draggin the mouse around with left button pressed.27 b. Rotate the image by choosing 'Rotate' from the toolbar and drag gin the mouse up/down with left button pressed.28 c. Scale the image by choosing 'Scale' from the toolbar and drag gin the mouse up/down with left button pressed.27 a. Move the image by choosing 'Move' from the [wikitr:/Help/EditToolbar toolbar] and dragging the mouse around with left button pressed. 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. 29 30 d. You can also choose to scale in just one axis by selecting the proper button. 30 31 31 **Note**: If it does not work - make sure the right layer is selected AND ACTIVATED. 32 6. If you need to reset your changes - you can use the context menu from the !PicLayer entry in the layer list. 33 1. If you want to save the calibration of the image, you can also do this using the popup menu. 32 34 33 5. If you need to reset your changes - you can use the popup menu available under the PicLayer entry in the layer list. 34 1. If you want to save the calibraton of the picture you have made, you can also do this using the popup menu. 35 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. 35 This plugin is meant to help with mapping from aerial photos, similar to [http://mapwarper.net/ mapwarper.net]. 37 36 38 37 39 == Converting calibration data in PicLayer == 40 For those interested in converting calibration data in PicLayer:[[BR]] 38 == Converting calibration data in !PicLayer == 39 For those interested in converting calibration data in !PicLayer:[[BR]] 41 40 * {{{INITIAL_SCALE}}} is the initial size of 100 image pixels (length of ruler in JOSM). 42 41 * {{{SCALEX/Y}}} is the factor after changing the size of the raster image relative to JOSM data layer. … … 51 50 }}} 52 51 53 where b is in degrees, ln is tthe natural logarithm and tan istthe tangent.52 where b is in degrees, ln is the natural logarithm and tan is the tangent. 54 53 * The longitude in degrees l is obtained from x via: 55 54 {{{ … … 74 73 75 74 ---- 76 Back to [wiki:/Plugins#JOSMdocu Plugin Help][[BR]] 77 Back to [wiki:/Help Main Help] 75 Back to [wikitr:/Plugins#JOSMdocu Plugin Help][[BR]] 76 Back to [wikitr:/Help Main Help]