Web Map Service (WMS) Reader Parameters
WMS Connection
The URL for the WMS server. A typical URL specifying a WMS server looks like
http://www.fmeserver.com/wms
HTTP Authentication
Use Network Authentication
This parameter is always visible in some formats, and visible in other formats only when the dataset is a URL.
Specify the authentication method to use when accessing a password-protected server.
- Basic: (default) Basic access authentication is designed to allow a client to provide credentials to a server on the assumption that the connection between them is trusted and secure. Note that any credentials passed from client to server can be easily intercepted through an insecure connection.
- Digest: Digest authentication is one of the agreed-upon methods a web server can use to negotiate credentials, such as username or password, with a user's web browser.
- NTLM: A challenge-response protocol that is used to provide compatibility with versions of Windows earlier than the Windows 2000 operating systems.
- Web Connection: Web connections provide a convenient and secure way to store and reuse previously established connection parameters. See Web Connection below.
- Single Sign-on: FME will use the credentials of the current user to authenticate the HTTP request. This authentication method currently works only on the Windows operating system.
Note: To access datasets using a proxy server, use the Network tools in FME Options. From the Workbench menu, select Tools > FME Options > Network. For more information, see "Network Proxy" in the FME Workbench Help.
Constraints
After you have completely specified the connection, click the Browse button to select layers for import. A connection window appears while the system compiles a table from the database. Once the layer list appears, you can select one or more layers, and then click OK to dismiss the window. The layer name(s) will appear in the layer list field in the Reader Parameters box.
When selected, instructs the WMS reader to split the selected layers into separate HTTP Get Requests. That is, if N layers are selected, then N separate HTTP GetMap requests are performed fetching N images.
Map Options
Sets the background transparency for a map. When this option is selected, and the image format supports transparency (e.g., PNG and GIF), the map server will send an image with transparent background.
Specifies the width in pixels for the image.
Specifies the height in pixels for the image.
Specifies the image output format as a MIME type. The output format must be one of the formats listed in the WMS capabilities document. The directive defaults to “image/png”.
Specifies the desired coordinate system. The default value is “CRS:84” for WMS 1.3.0 and “EPSG:4326” for WMS 1.1.0 and 1.1.1.
Time value or range for map data, expressed using any of the following syntaxes:
Syntax | Meaning |
---|---|
value
|
A single value. |
value1,value2,value3,...
|
A list of multiple values. |
min/max/resolution
|
An interval defined by its lower and upper bounds and its resolution. |
min1/max1/res1,min2/max2/res2,... |
A list of multiple intervals. |
Elevation value or range for map data, expressed using any of the following syntaxes:
Syntax | Meaning |
---|---|
value
|
A single value. |
value1,value2,value3,...
|
A list of multiple values. |
min/max/resolution
|
An interval defined by its lower and upper bounds and its resolution. |
min1/max1/res1,min2/max2/res2,... |
A list of multiple intervals. |
Schema Attributes
Use this parameter to expose Format Attributes in Workbench when you create a workspace:
- In a dynamic scenario, it means these attributes can be passed to the output dataset at runtime.
- In a non-dynamic scenario where you have multiple feature types, it is convenient to expose additional attributes using this one parameter. For example, if you have ten feature types and want to expose the same attribute in each one, it is easier to define it once than it is to set each feature type individually in the workspace.
Using the minimum and maximum x and y parameters, define a bounding box that will be used to filter the input features. Only features that intersect with the bounding box are returned.
If all four coordinates of the search envelope are specified as 0, the search envelope will be disabled.
When selected, this parameter removes any portions of imported features being read that are outside the Search Envelope.
The example below illustrates the results of the Search Envelope when Clip to Search Envelope is not selected (set to No) and when it is selected (set to Yes).
- No: Any features that cross the search envelope boundary will be read, including the portion that lies outside of the boundary.
- Yes: Any features that cross the search envelope boundary will be clipped at the boundary, and only the portion that lies inside the boundary will be read. The underlying function for the Clip to Search Envelope function is an intersection; however, when Clip to Search Envelope is selected, a clipping operation is also performed in addition to the intersection.