Version 29 (modified by 8 years ago) ( diff ) | ,
---|
Using a "Rectified Image" deserve separate pages
Languages:
- English
- español
- français
- italiano
- 日本語
- Nederlands
- русский
- українська
Main menu > Imagery
This menu allows you to use various sources as a background layer in the main window. At present, the menu has following sections:
Imagery preferences
A shortcut to respective tab in preferences menu. Servers can be added and edited using the preference tab in the preferences Any new servers or changes would then displayed on the main imagery menu. By default, the major image providers are added.
New offset
Will let you to adjust imagery with offset.
List of imagery sources
Depending on your preferences, you will see at least N items. This is main method of enabling/disabling imagery.
Usage of menu items was illustrated in Introduction
Metacarta Rectified Image
For use with Metacarta's Map Rectifier.
Clicking 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, http://labs.metacarta.com/rectifier/rectify/73 - the id would be 73)
Note 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.
Blank layer
In certain situations a blank imagery layer is needed (e.g. loading saved layers).
WMS basic troubleshooting
Things to try in case of problem.
no image appears, even after waiting a bit
- 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.
- 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.
images at bad resolution from Yahoo
- adjust zoom level as decribed above. Note that in most regions Yahoo imagery has a lesser resolution than Google Maps.
Exception occurred - red tiles
- 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.
error : bad parameters - red tiles
- Check that configuration -> projection is set to EPSG:4326 or Mercator.
gray tiles
- 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 dir /x "C:\Documents and Settings"
In 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:
rem Contents of start_JOSM.cmd set APPDATA=C:\Documents and Settings\9335~1\Application Data start javaw -jar josm.jar
Caching
To 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 :
- cache.wmsplugin.expire -1 : this is a time in second until the tiles are invalidated. -1 means "never flush".
- cache.wmsplugin.maxsize 999999999 : maximal size of the cache (probably in MB)
Even though you have to download an area "manually", you can work offline using this technique.
Using a "Rectified Image"
Do not use copyrighted material, unless you have the right/permission to do so (see the Licensing section below)'''
Before 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.
To work with your own images in JOSM:
- upload your aerial image / scanned old map to either
- Geothings at http://warper.geothings.net/ or
- MetaCarta at http://labs.metacarta.com/rectifier/
- Note: please read their privacy/copyright notes first
- rectify it on their site so it "fits with reality"
- XXX - wait for the image to be processed?
- remember the metacarta id (look at the URL in your browser)
- in JOSM, load some openstreetmap data of the expected image area (to be in the right "clipping range")
- click on Rectified Image and enter the id in the upcoming dialog
If the "clipping range" was wrong, you might see just nothing. In this case zoom out and retry the download.
Remote control
The "wms" remote control command instructs JOSM to open a WMS layer in the same way as with the "rectified image" menu command.
GET /wms?title=foobar&urldecode=false&url=...
where
parameter | required/optional | meaning |
---|---|---|
url | R | WMS URL in the usual format. This must be the last parameter. |
title | O | Title (name) of WMS layer. If not specified the title will be "remote WMS". |
urldecode | O | Disable URL-decoding of URL value if true. All other values will be URL-decoded anyway. |
cookies | O | Can be used to specify cookies for the WMS request. |
Note: 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.
This remote control function can be disabled by setting preferences value
wmsplugin.remotecontrol=false
or by using the checkbox "Allow remote control" in the preferences editor.
Back to Main menu
Back to Layer List Dialog
Back to Imagery Context Menu
Back to Main Help
Attachments (9)
- black_white.png (861 bytes ) - added by 7 years ago.
- carto.png (1.7 KB ) - added by 7 years ago.
- DigitalGlobe.png (722 bytes ) - added by 7 years ago.
- bing.png (255 bytes ) - added by 7 years ago.
- esri.png (3.2 KB ) - added by 7 years ago.
- mapbox.png (506 bytes ) - added by 6 years ago.
- mapillary-logo.png (1017 bytes ) - added by 5 years ago.
- maxar.png (321 bytes ) - added by 3 years ago.
- esri_clarity.png (4.5 KB ) - added by 3 years ago.
Download all attachments as: .zip