你在这里: 参考手册 > FME服务器服务 > 转型服务

转型服务

转型服务包括以下内容:

公共请求元素

工作区已发布参数

An FME published parameter defined in 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.

句法

可以使用HTTP POST或GET方法向工作区提供已发布的参数。假设使用get方法,那么发布的参数URL参数的语法如下:

http://hostname///?{ParameterName[=ParameterValue]&}

以下是通过数据下载服务调用austindownload.fmw工作区的URL(请注意url参数,例如coordsys及其值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

从上面的示例中讨论的已发布的参数在下表中讨论。您还可以从Samples存储库下载Austindownload.fmw工作区,以便了解如何在工作区中配置已发布的参数。

参数名称

参数值

描述

COORDSYS

LL84

这是作者的坐标系参数(即输出坐标)。

bbox_coordsys. LL84 这是读者的搜索信封坐标系参数的搜索提供的信封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 a剪刀变压器。
format_generic. 形状 This is the Generic Writer's输出格式parameter.
米克斯 -100. 这是读者的搜索信封min x参数将用于选择和剪辑数据。这两个已发布的参数由读者和a使用剪刀变换器为了限制读取的数据量,然后分别硬剪切数据。
矿业 25. 这是读者的搜索信封min yparameter. See MINX for further details.
maxx. -90 这是读者的搜索信封max xparameter. See MINX for further details.
最大 35. 这是读者的搜索信封最大yparameter. See MINX for further details.
主题 飞机场 这是读者的要读取的功能类型parameter.

特定于Web服务的转换管理器指令

看到转型经理指令for details.

支持FME发动机指令

下表提供了有关FME引擎指令的信息。

Directive name

指令价值

描述

fme_log_filename.

FME翻译日志文件名。

指定FME翻译日志文件名,而不是使用默认文件名。