Using the Map Builder > Using More Map Builder Features > Importing a Data Source > Importing a Web Map Server Image

If the data source file is a Web Map Server (WMS) image, there are a number of other parameters that you can set, see Figure 3.8:

images/importwms.png

Figure 3.8 Select Data Sources Pane for a WMS Image

In Figure 3.8, the red cross on certain servers indicates that these servers were not available at the time the Map Builder was started.

  1. Choose File>Add Map Data and select Web Map Server as the file type, to display the Select Data Sources pane for WMS images.
  2. Select a map in the left pane to display the corresponding features in the Features tab, and then check the features you want to display in the Feature Choice pane.
  3. Use the Select All button to select all the features or the Deselect All button if you want to remake your selection.
  4. Click the Capabilities tab to display the Capabilities pane, see Figure 3.9. The Capabilities pane shows the response from the server to the capabilities request. This pane is for information only and displays the layers that are available in the WMS data.

images/capabilitieswms.png

Figure 3.9 Capabilities Pane
  1. Check Use Advanced Options, to activate the Options tab and then click the tab to display the Request Options pane, see Figure 3.10. The Request Options pane contains a number of options that you can set.

images/optionspane.png

Figure 3.10 Options Pane
  1. In the Limits pane, set the limits manually for the Lat/Lon properties or click the images/rectcoord.png button and then draw a rectangle in the Map View to set the limits.
  2. Set the image format by selecting from the list displayed in the Image Format pane.
  3. If you want the layers to be transparent, check the Transparent box in the Layer Transparency pane.
    Note
    Transparency is only supported for .gif and .png images. Specifying transparency for other image formats may lead to strange results.
  4. Select the Available SRS from the list displayed in the Available SRS pane. The Available SRSs are the available Spatial Reference Systems in which a layer can be displayed. You can only display a layer using one of the SRSs in this list. The list is retrieved from the capabilities request.
  5. Set the version number you want in the Version pane. This property allows you to specify the version number as an attribute in the request to the server. Some servers only respond to requests with specific version numbers and reject the request if the version does not match the number they are expecting.
  6. In the Image Size pane, set the size of the image by dragging the slider to the required position. This is the size of the image requested on the server and not the size of the image displayed in the Map View. Once read, the image is displayed in the Map View. However, the size of the displayed image does not depend on the size of the requested image since it is georeferenced, but specifying an image size in the request can be useful for tuning the precision versus load time ratio.
  7. Check the Flatten box in the Flatten Layers pane to display only one layer for all the selected features. If this option is not checked and you select more than one feature in the Feature pane, a map layer is created for each feature selected.
  8. To change the layer order, select a layer in the Layer Order pane and click on the images/uparrow.png or images/downarrow.png button to move the layer up or down one position. Note that to carry out this operation, you must have the Flatten option checked, because the layer order specifies how the features selected in the Features Choice pane are stacked in this single map layer.
  9. Click Open.