Changes between Initial Version and Version 1 of Ru:Help/Menu/Imagery


Ignore:
Timestamp:
2011-10-06T13:08:45+02:00 (13 years ago)
Author:
RoverBook
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ru:Help/Menu/Imagery

    v1 v1  
     1[[TranslatedPages]]
     2= Главное меню > Снимок =
     3
     4Это меню предоставляет вам возможность использовать подложки (фоновые изображения) из различных источников в главном окне. Выбор одного из пунктов меню Снимок, подсвеченного зеленым цветом, автоматически приведет к загрузке изображения с сервера. Вы можете самостоятельно добавлять новые серверы в список и изменять имеющиеся в [[Image(source:/trunk/images/preference.png)]] [wiki:/Help/Action/Preferences Настройках]. Любой новый или измененный сервер должен появиться в меню Снимок. По умолчанию, в JOSM представлены главные поставщики гео-изображений.
     5
     6В настоящее время, в меню Снимок представлены следующие секции:
     7
     8== Подложки ==
     9
     10[[Image(source:/trunk/images/imagery_menu.png)]] Для каждой подложки в меню добавляется свой пункт. Когда вы выбираете такой пункт, создается новый слой с соответствующей подложкой.
     11
     12== Исправленное изображение (Metacarta Rectified Image) ==
     13
     14[[Image(source:/trunk/images/OLmarker.png)]] For use with Metacarta's [http://labs.metacarta.com/rectifier/ Map Rectifier].
     15
     16Clicking on this opens up a dialog box requesting an id. The id is obtained from either the page url or the WMS link. (for example,
     17http://labs.metacarta.com/rectifier/rectify/73 -  the id would be 73)
     18
     19Note if you are using these images for editing then you need to ensure the image, and its method of rectification, are free of any copyright issues.
     20
     21== Смещение снимка ==
     22
     23С помощью этого раздела меню Снимки вы можете скорректировать положение подложки относительно других слоев.
     24
     25Смещение может быть сохранено в закладках, сгруппированных для каждой подложки, и затем применено снова.
     26
     27== Пустой слой ==
     28
     29[[Image(source:/trunk/images/blankmenu.png)]] В определенных ситуациях необходим пустой слой (например, при загрузке сохраненных слоев).
     30
     31= Using the WMS plugin =
     32
     33* Load / Download openstreetmap data and go to your favourite area
     34* Show the 'Layers' panel if it isn't showing already (Click the toggle button: [[Image:Liste aller Ebenen.png]])
     35* Click the menu option "WMS → Landsat" (or whatever named WMS server you want to use) This should cause it to create a new imagery layer.
     36* Wait a few moments for it to begin fetching image tiles.
     37
     38As you pan around it will download more tiles. It also seems to remove tiles which are out of viewing area, to free up memory.
     39
     40To remove the imagery and stop all WMS downloading, select the layer and click the trash can button. You can also temporarily toggle visibility of the layer (keeps imagery in memory). Right click on the layer (in the layers panel) to access further WMS layer options.
     41
     42When your WMS layer is selected, the data layer is shown as deselected (dark grey). Simply select your data layer again (often called 'unnamed') to restore normal colours. It is also possible to display the WMS layer "above" the data layer, which will hide the data layer completely. Use the up/down arrows to fix the ordering.
     43
     44You can adjust the positioning of the imagery by clicking [[Image:Adjust WMS-Layer.png]] button on the left. In this mode you can drag and drop the WMS layer. Press the button again to lock it in place. This can be useful if the imagery appears to be offset from reality, but note that your GPS unit isn't perfect. A bad GPS signal can cause an entire trace to have an offset from reality, so you may find it useful to check also by downloading other GPS traces recorded for the area.
     45
     46You may need to adjust your map colours ('Edit' menu -> 'Preferences') to be darker or lighter, to contrast with the images you are using.
     47
     48== Basic troubleshooting ==
     49Things to try in case of problem.
     50
     51=== no image appears, even after waiting a bit ===
     52* adjust zoom level so that the scale in the top left says ~150m, delete the layer (trash can icon), add it again from the menu.
     53* The plugin may not find the DLL files. Check you have placed all of the webkit-image zip file contents them somewhere on the system path.
     54
     55=== images at bad resolution from Yahoo ===
     56* adjust zoom level as decribed above. Note that in most regions Yahoo imagery has a lesser resolution than Google Maps.
     57
     58=== Exception occurred - red tiles ===
     59* This can mean the WMS server is temporarily not available. Landsat and OpenAerialMap seem to be prone to periods of non-availability. Delete the WMS layer and try again 10 minutes later.
     60
     61=== error : bad parameters - red tiles ===
     62* Check that configuration -> projection is set to EPSG:4326 or Mercator.
     63
     64=== gray tiles ===
     65* if you have non-ACSII symbols in the path to your plugin folder in Windows (e.g. cyrillic letters in ''your name'' in C:\Documents and Settings\''your name''\Application Data\JOSM\plugins), a possible solution is to change ''your name'' to an equivalent short filename. To find this open a command window and do
     66 dir /x "C:\Documents and Settings"
     67In its output the column to the left of ''your name'' should contain short version of ''your name'', let it be for example ''9335~1''. Add a line to the batch file starting JOSM:
     68 rem   Contents of start_JOSM.cmd
     69 set APPDATA=C:\Documents and Settings\''9335~1''\Application Data
     70 start javaw -jar josm.jar
     71
     72== Caching ==
     73To reuse the tiles over JOSM sessions without having the reload them from the server, right click on the WMS layer and set a bookmark. During the next session, select the new WMS created by the bookmark in the WMS memu. Additionally, you may want to modify the following values in the preferences :
     74* cache.wmsplugin.expire -1 : this is a time in second until the tiles are invalidated. -1 means "never flush".
     75* cache.wmsplugin.maxsize 999999999 : maximal size of the cache (probably in MB)
     76Even though you have to download an area "manually", you can work offline using this technique.
     77
     78== Using a "Rectified Image" ==
     79
     80'''Do not use copyrighted material, unless you have the right/permission to do so (see the Licensing section below)!'''
     81
     82Before you start with your own images, it might be a good idea to start with Landsat data so you'll learn how to work with these downloaded images.
     83
     84To work with your own images in JOSM:
     85
     86* upload your aerial image / scanned old map to either
     87 * Geothings at http://warper.geothings.net/ or
     88 * MetaCarta at http://labs.metacarta.com/rectifier/
     89 * '''Note:''' please read their privacy/copyright notes first
     90* rectify it on their site so it "fits with reality"
     91* XXX - wait for the image to be processed?
     92* remember the metacarta id (look at the URL in your browser)
     93* in JOSM, load some openstreetmap data of the expected image area (to be in the right "clipping range")
     94* click on Rectified Image and enter the id in the upcoming dialog
     95
     96If the "clipping range" was wrong, you might see just nothing. In this case zoom out and retry the download.
     97
     98== Adding a WMS Server ==
     99
     100'''Do not use copyrighted material, unless you have the right/permission to do so (see the Licensing section below)!'''
     101
     102To add a new WMS Server, use the Menu: 'Edit' menu -> 'Preferences' and click on the WMS tab. Now you can add / remove WMS server URL's.
     103
     104A WMS server typically can provide different projections, subsets of data, etc., so you may need to experiment with the URL settings to get the best results.
     105
     106== Remote control ==
     107
     108The "wms" remote control command instructs JOSM to open a WMS layer in the same way as with the "rectified image" menu command.
     109
     110  GET /wms?title=foobar&urldecode=false&url=...
     111
     112where
     113
     114||=parameter=||=required/optional=||=meaning=||
     115||url||R||WMS URL in the usual format. This must be the last parameter.||
     116||title||O||Title (name) of WMS layer. If not specified the title will be "remote WMS".||
     117||urldecode||O||Disable URL-decoding of URL value if true. All other values will be URL-decoded anyway.||
     118||cookies||O||Can be used to specify cookies for the WMS request.||
     119
     120Note: The "url" parameter must be the last one. Everything after url= will be used as the WMS URL. It is not mandatory to URL-encode the value, but the WMSPlugin will try to URL-decode it unless urldecode=false is specified. If you notice that the decoding modifies the URL in an unwanted way, add "urldecode=false" before the "url" parameter.
     121
     122This remote control function can be disabled by setting preferences value
     123
     124  wmsplugin.remotecontrol=false
     125
     126or by using the checkbox "Allow remote control" in the preferences editor.
     127
     128----
     129
     130Back to [wiki:/Help Main Help]