span8
span4
span8
span4
The final step in creating any workspace in FME is to run the workspace.Running the workspace initiates the flow of data from a Reader through any Transformers to writing the data to disk with a Writer.In part six of this tutorial series, you will learn how to run a workspace to completion and view the Translation Log.
6-写数据Begin.fmwt(起始工作区)
Businesses.zip(输出数据集)
To watch the full video, see ourYoutube频道.Please note that this video was made with FME Desktop 2019, and shows a bug in the data.The data should show 100 records, not 171.To correct this, download the data from this tutorial.
Continue working in the workspace from the前面的文章or download the6-写数据Begin.fmwtworkspace.
1。运行工作区
To run a workspace, click on the Run button.Before clicking, if you mouse-over the button, a green highlight will appear around all of the objects on the canvas that will be executed when the Run button is clicked.Which objects will be run is useful to know if you are testing a workspace and have made changes recently.
2。确认工作区是成功的
After the workspace has been run, there are two main ways to tell if it was successful.The first way is to see the Feature Count numbers flow through the workflow, there should be at least one feature moving from each object.
If you are following along with the data provided, there should be 171 features coming from the AttributeManager.
The second way is to look for the “Translation was SUCCESSFUL” message at the bottom of the FME Workbench in the Translation Log window.This message will also note how many warnings there were and how many features were written out.The features that are written out should directly reflect the Feature Count number going into the Writer.
You can also view this message inside the Translation Log.To access the log, go to View > Windows > Translation Log.如果您保存您的工作,翻译日志的保存的版本可以在同一文件夹作为工作区进行访问。这允许您如果需要查看转换日志在文本编辑器,如记事本++。
3。检查输出
一旦已经确定了“翻译是成功的”,它是一个好主意,以确认或者开这种格式的原生软件的输出文件或使用中FME的数据可视化窗口中的输出。
要查看本教程系列的最后输出数据,点击企业作家功能类型,显示弹出菜单。在弹出的菜单中点击查看书面数据按钮。
这将打开在视觉预览窗口中的数据。在这里,你可以观察到属性的变化。
注意:ESRI的shape文件格式不接受属性名称空间,所以FME加下划线(_)来代替空格。
4。保存工作区
关闭FME工作台或启动一个新的工作区之前,请务必通过单击软盘图标或文件>保存,保存工作区。
当保存一个FME工作区,该数据是通过直接路径引用。如果数据被重命名或移动也不会在工作区中可用。为了防止这种情况,或者如果你与别人共享工作区,工作区可以保存为模板,其中包括数据。要做到这一点去文件>另存为模板...
然后,确保您使用在工作区中的数据列。如果您想要包含更多的数据,您可以点击旁边的省略号来添加更多的文件:
偶尔,有可能是原因,工作区失败,你将需要解决。
一种。翻译日志窗口
为了成功地解决,翻译日志需要打开。如果不是已经打开,转到工具>窗口>转换日志。该日志将自动使用有关最后一次的工作区运行的详细信息。纵观转换日志的顶部,有两个按键,错误和警告。如果您的工作区失败,这些按钮将有一个数量的旁边。您可以在这些按钮点击过滤日志,并直接跳到错误。一旦你找到了错误,请查看详情并解决问题。然后重新运行工作空间。
此工作区失败,因为文件名不正确。用户必须添加新的数据或修复文件名前的工作空间将成功运行。
有时也有警告。通常,这些可以作为他们只是警告对某些FME特定设置被忽略。在这个例子中,该警告是特征缓存被接通,其可能会降低性能。尽管这些警告可以忽略它始终是一个好主意,仔细研究。
湾被拒绝的功能处理
工作区可能会失败的另一个原因是,单一的功能会导致有一个变压器
如果要忽略这些功能,这个功能可以关闭。要关闭此功能,用鼠标右键点击
被拒绝的功能处理:在FME一种功能,使工作区时停止一个特征被拒绝,这可以被关闭。
模板:被保存与包含在数据A FME工作区,一个.fmwt文件扩展名指示该工作区是一个模板。
翻译:在FME常用术语来指代整个工作空间。
翻译日志窗口:在FME工作台窗口了解,包括错误和警告工作区的详细信息。
数据归属
这里所用的数据是随机产生的,从www.generatedata.com
How to Convert DWG to DGN (AutoCAD to Microstation)
Calculating Area, Perimeter, and Lengths
Changing Raster Values by Geographic Feature
How to Convert Oracle Spatial to Shapefile
Polygon Within a Distance of Selected Features
Clearing Blocking Transformers
Getting Started with FME Desktop: Introduction to FME Data Inspector
© 2020 Safe Software Inc |Legal