Adding WMS services to an image service definition

LegacyLegacy:

ArcGIS 10 is the last release of the stand-alone ArcGIS Image Server product. The image service definition (.ISDef) has been replaced by an improved geodatabase data model—the mosaic dataset—which can be published as an image service using the ArcGIS Server Image extension.

Open Geospatial Consortium, Inc. (OGC), Web Map Service (WMS) is an international specification for serving and consuming dynamic maps on the Web. You can use ArcGIS Image Server to create an image service definition using a WMS service as the source data by extracting information from an XML file containing the properties of a WMS service.

NoteNote:
It is recommended that you use the Add Raster Dataset option on the Advanced menu of the Image Service Definition Editor toolbar for large WMS services. Adding large WMS services using the New Image Service wizard is not recommended.
Steps:
  1. Create an XML file for WMS services.

    Sample XML file:

    <GDAL_WMS>
         <Service name ="WMS">
              <Version>1.1.1</Version>
              <ServerUrl><Name of the Server URL>/</ServerUrl>
              <SRS>EPSG:4326</SRS>
              <ImageFormat>image/jpeg</ImageFormat>
              <Layers><Name of the Layer></Layers>
              <Styles>visual</Styles>
         </Service>
         <DataWindow>
              <UpperLeftX>-180.0</UpperLeftX>
              <UpperLeftY>90.0</UpperLeftY>
              <LowerRightX>180.0</LowerRightX>
              <LowerLeftY>-90.0</LowerLeftY>
              <SizeX>2949120</SizeX>
              <SizeY>1474560</SizeY>
         </DataWindow>
              <OverviewCount>12</OverviewCount>
              <BlocksizeX>512</BlocksizeX>
              <BlockSizeY>512</BlockSizeY>
              <Projection>EPSG:4326</Projection>
              <BandsCount>3</BandsCount>
              <ClampRequests>false</ClampRequests>
    </GDAL_WMS>

    To learn more about creating XML files and the format, see http://www.gdal.org/frmt_wms.html.

  2. Create an image service using the New Service Definition option.
  3. On the Image Service Definition Editor toolbar, click the Image Service drop-down arrow, point to Advanced, then click Add Raster Dataset.

    The Select Raster Type dialog box is displayed.

  4. Double-click the Georeferenced Imagery folder.
  5. Scroll down the list and click WMS - Web Map Service.
  6. Click OK.

    The Add WMS services dialog box is displayed.

  7. Choose one of two options: select a single file or select multiple files.

    Select files

    Use to select a single XML file or just a few.

    Select folder

    Use to select a folder containing multiple XML files.

    • Filters are used to identify the extensions that are searched in the selected folder.
    • The Search folders recursively option lets you search for rasters in folders contained within the selected folder.

  8. Click OK.

    The WMS Process Parameters dialog box is displayed.

  9. Click the Default spatial reference drop-down arrow or click the browse button to choose a spatial reference file.
  10. Optionally, click the Enhancement tab.
  11. Click OK.

    WMS services are added to the image service definition, and the footprints are displayed.

Related Topics


4/19/2011