转换服务
转换服务include the following:
Authentication
SeeWeb Services Authentication.
Common Request Elements
Workspace Published Parameters
An FME published parameter defined in a workspace can be directly passed to a web service as a request parameter. When the web service submits a transformation job to FME Server, the FME Server uses the value of the published parameter to run the workspace.
Syntax
The published parameters can be provided to the workspace using the HTTP POST or GET method. Assuming the GET method is used, then the syntax for the published parameter URL parameters is as follows:
http://hostname/
Example
Here is a URL to invoke the austinDownload.fmw workspace through the data download service (note the URL parameters, such as COORDSYS and its value LL84):
http://hostname/fmedatadownload/Samples/austinDownload.fmw?COORDSYS=LL84&BBOX_COORDSYS=LL84
&FORMAT_GENERIC=SHAPE&MINX=-100&MINY=25&MAXX=-90&MAXY=35&THEMES=airports
The published parameters from the example above are discussed in the following table. You may also download the austinDownload.fmw workspace from the Samples repository in order to see how the published parameters are configured in the workspace.
Parameter name |
Parameter value |
Description |
---|---|---|
COORDSYS |
LL84 |
This is the Writer'sCoordinate Systemparameter (i.e. the output coordinate). |
BBOX_COORDSYS | LL84 | This is the Reader'sSearch Envelope Coordinate Systemparameter for the search envelope provided by the MIN*/MAX* published parameters, which collectively restrict the amount of data that is actually read by FME. Also, this published parameter is used to reproject the search envelope to match the source data's coordinate system in order to perform a hard clip within the workspace using aClippertransformer. |
FORMAT_GENERIC | SHAPE | 这是普通作家的作品Output Format参数。 |
MINX | -100 | This is the Reader'sSearch Envelope Min Xparameter that will be used to select and clip data. This published parameter is used by both the Reader and aClippertransformer in order to restrict the amount of data that is read and then to hard clip the data respectively. |
MINY | 25 | This is the Reader'sSearch Envelope Min Y参数。See MINX for further details. |
MAXX | -90年 | This is the Reader'sSearch Envelope Max X参数。See MINX for further details. |
MAXY | 35 | This is the Reader'sSearch Envelope Max Y参数。See MINX for further details. |
THEMES | airport | This is the Reader'sFeature Types to Read参数。 |
Web Services-Specific Job Directives
SeeJob Directivesfor details.
Supported FME Engine Directives
The following table provides information about the FME Engine directives.
Directive name |
Directive value |
Description |
---|---|---|
fme_LOG_FILENAME |
FME translation log file name. |
Specify the FME translation log file name instead of using the default file name. |