Publishing WMS Data

You can choose to publish some or all of your data and map and layer resources using WMS (Web Mapping Service) protocols in Autodesk Infrastructure Studio. A Web Mapping Service is a standard protocol for serving georeferenced map images generated by a map server using GIS data.

To publish using WMS

  1. To enable WMS publishing, do one of the following:
    • Click Enable WMS in the Autodesk Infrastructure Studio toolbar.
    • Click File menu > Enable WMS
    • Right-click a map definition and click Enable WMS.

    The Enable WMS wizard opens.

  2. On the Select Layers page, select the map layers to publish as a web map service and then click Next.

    Selecting a map definition automatically selects all the layers associated with that definition. You can deselect any undesired layers. If you deselect all layers, no layer data is published and the other wizard pages are unavailable.

  3. On the Set Reference Systems page, add the coordinate reference systems needed to transform the data in the layers to the coordinate system used by the web map service.

    When you click Add CRS, the Coordinate System Library appears. Find and select the coordinate system you need and click Select.

    • In the Coordinate System Library, use the drop-down menus to filter the display.

      Status: View all coordinate systems or only those that are current , outdated, or user-defined.

      Code Type: View all coordinate systems or only Autodesk or EPSG systems.

      Category: View all categories, or select a particular collection of coordinate systems to narrow your search, such as lat/long, a country or regional category, or one of the UTM categories.

      Unit: View coordinate systems in all units of measurement, or only those that use a particular unit of measurement.

    • In the Search table, locate the coordinate system you need.

      The columns in the table include the following:

      Status: Up to date; Out of date; User defined.

      Code and Description: The default name of the coordinate system and a brief description.

      Referenced To: The name of the datum or ellipsoid to which the coordinate system is referenced. Where more than one datum is referenced (for example, target and source datum), each datum is on a separate line. For arbitrary coordinate systems, ellipsoids, and geodetic paths (which are not referenced), the field will be blank.

      Category: The category to which this coordinate system is assigned.

      EPSG Code: Not all coordinate systems have EPSG codes. If no code is assigned to a coordinate system, the field will be blank.

      Unit: Unit of measurement.

      To view the details for any coordinate system in the Search table

      • Select the coordinate system and click View.

      To select the coordinate system for the web service

      • Select the coordinate system and click Select
  4. For each coordinate reference system you add, specify the area to display:
    • To add the map extents shown in the Map Preview as a set of bounds for this reference system, click Current Bounds .
    • To add a smaller area as a set of bounds, click Edit. Draw a rectangle in the Map Preview to define the smaller area.

      To see the bounds for any coordinate reference system, click View for that reference system. The rectangles for the bounds appear in the Map Preview.

    • When you are finished defining the bounds for the coordinate reference systems, click Next to see the Define Properties page.
  5. On the Define Properties page, select a layer to define its metadata. The name of the current layer appears above the Metadata area and is the default value for the Title.
    • Use Title to enter a title for the layer.

      This is the name that appears to the client user, for example County Waterways. This field is required.

    • Use Abstract to provide a more detailed description of the data. For example, enter Waterways of the county. 1972 base map with 1995 survey updates. This field is optional.
    • Use Keywords to enter a comma-separated list of words to help locate the data among a set of sources. For example, enter Waterway,River,Lake,Stream,Canal,1995 survey. This field is optional.
    • Use Metadata URL to associate a web page with the data. This field is optional. For example, provide the client user a link for additional information. Use the following sample syntax:

      <Link href=”http://myserver/wfs/meta.cgi?feature=Waterways&amp;format=plain&amp;” type=”TC211” format=”text/plain” />

      <Link href=”http://myserver/wfs/meta.cgi?feature=Waterways&amp;format=xml&amp;” type=”FGDC” format=”text/xml” />

    • Select Opaque if this layer is meant to obscure any layer placed beneath it.

      Clear the checkbox to indicate that the layer contains sparse data, for example points, lines, and polygons, that can be rendered with transparency to expose layers behind it.

      This setting provides information to help the client user determine layer ordering. Opaque layers should be moved to the bottom of the viewing order.

    • Select Queryable to indicate additional queryable metadata for individual features on the layer. Use this option if the server supports the GetFeatureInfo operation for the selected layer.
  6. Select Apply Watermark(s) To Layers to add the watermarks associated with the published layers when you publish them.

    The setting applies to all layers in this publishing operation. If you publish a map definition that includes a watermark, the watermark is added to each of the map definition's component layers.

  7. Click Finish to publish using the web mapping service.

    A message reports whether the publishing operation was successful or not. If it was not successful, the message will indicate what the problem was.