Editing WMS Maps

To edit existing WMS maps in a map configuration:

  1. Open the Map Configs tab.
  2. In the Map Configuration drop-down list, select the map configuration for which you want to edit a WMS map.
  3. In the Map Configs tab, open the Maps sub-tab and select a Map.
  4. In the Maps sub-tab, click the Edit WMS Maps button.
    Note: The Edit WMS Maps button is enabled only for WMS maps. For non-WMS maps, the Edit WMS Maps button will be disabled.
    The Edit WMS Maps dialog box opens.
  5. In the Add\Edit WMS Maps dialog box, the WMS URL is displayed under Viewing WMS.
    Note: The layers that were previously selected will be shown in the ‘Selected Layers’ container on the right hand side.

    The Choose Projection drop down will display the previously selected projection.

  6. To change WMS friendly name, enter new name for this map in Enter name for this WMS Map text box.
    Note: By default, the text box displays the previous name of the WMS Map. You may retain existing name or enter a new name of the WMS Map. If you enter a new name for the WMS Map, it is added as a new WMS Map. It does not over-write existing WMS Map. This way you can easily add various WMS maps using the same WMS URL.
  7. Select layers from the Available Layers list.
    Note: You may select more than one layer by pressing Ctrl button.
  8. Click the Add button to move selected layers to Selected Layers box.
  9. Click the Remove button to remove one or more layers from Selected Layers box.
  10. Select a layer in the Selected Layers list and click the Up and Down arrow buttons to re-order its position in the list.
  11. Change style from Choose Style drop-down list for each layer.
  12. Select from available check box options:
    Option Description
    Add as a Base Map Select to add the WMS as a base map.
    Get feature info Select to get feature information.
    Note: The Get Feature Info check box is disabled and unchecked if the does not support the getFeatureInfo capability.
    Get Legend Graphic Select to get legend graphics.
    CORS Enabled Select to check if the tile server supports CORS (Cross-origin Resource Sharing).
    Note: When user will add WMS map either secured or non –secured, SSA will check whether these supports CORS or not and“CORS Enabled” option will be checked/unchecked by default.”
    Note: The Get feature info check box and Get Legend Graphic check box are valid only for WMS’s added as business maps and will be enabled only if Add as a Base Map check box is unchecked.
  13. Choose projections from the Choose Projection drop-down list.
    Note: The projections of any Tile Maps, WMS base maps and WMS overlay maps added to the map configuration must be the same otherwise the maps will not align correctly. If the projection chosen is different to the existing one in the map configuration you will get a warning message as below when you eventually try to add the WMS.
    • When a WMS base map is being added and it has a different projection to any existing Tile maps, WMS base maps or WMS overlay maps you will be asked if you wish to replace the existing maps with the new WMS map.
    • When a WMS overlay map is being added and it has a different projection to any existing Tile maps, WMS base maps or WMS overlay maps you will be prevented from adding it and will need to change the selected projection for the WMS overlay map and try again.
    Note: Some projections supported by WMS are “geographic” rather than “projected” projections. Geographic projections use degrees as units and one example which is commonly used is epsg:4326. The Mapping Service used by Spectrum Spatial Analyst does not render maps in a form that aligns with geographic projections. The misalignment is more pronounced as you move further north or south from the equator. Please be aware of this limitation when choosing a geographic projection – as no warning message is shown when adding maps from the Mapping Service.
  14. Choose image format from Choose Get Map Format drop-down list. The supported Get Map format is image/png, image/gif, image/jpeg, or image/jpg.
  15. Click Add to Maps button to add updated WMS map to map configuration.
  16. Click Cancel to exit Edit WMS Map dialog box.

The selected map is now added to the map configuration.