span8
span4
span8
span4
Tutorial: Getting Started with FME Desktop|Next: View Data
When building a workspace in FME, you will need to add source (input) data.In part one of this tutorial series, you will learn how to open FME Workbench and read in data using the drag and drop method.You will also learn what a Reader is and how to set one up.
BusinessOwners.xlsx(starting dataset)
1-ReadData-Completed.fmwt(completed workspace)
To watch the full video, see ourYoutube Channel.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.
1.Open FME Workbench
Open FME Workbench to start creating workspaces.To do this in Windows go to Start > FME Desktop > FME Workbench.In Mac OS, go to Applications > FME 2020 > FME Workbench.
2.Start a New Workspace
FME opens for the first time in a blank workspace.The empty workspace is referred to as the “canvas.” The canvas is where all of the objects in a workspace will be contained.If you have already opened FME once, click on the New button to open a blank workspace.
3.Drag and Drop to Add Data
In your operating system’s file explorer browse to your data.If you would like to follow along with the provided data, start by downloading the BusinessOwners.xlsx file, then browse to BusinessOwners.xlsx.
When you have found your data, drag and drop it onto the blank FME canvas.An Add Reader dialog box will appear.
4.Introduction to the Add Reader Dialog
a.Format and Dataset
In the Add Reader dialog, confirm your Format and Dataset path.FME automatically detects the format when a dataset is added but depending on the dataset there may be different format types for the same format extension, so it is a good idea to double check.FME can also read different dataset types, like folders, zip files and web-based, for more information see theDataset Types Documentation.
b.Parameters
Each format has specific parameters that can be set.To check the parameters, click on the Parameters… button, which will bring up the Format Parameters dialog.If the Parameters… button has an exclamation point ( !) at the end of itthis means that there are mandatory parameters that need to be set.To learn more about your format’s specific parameters you can click on the Help button in the Parameters windows.
如果你是按照所提供的数据, there are no parameters to set, and you can click OK to close the Parameters dialog if you opened it.
c.Coordinate System
FME is coordinate system aware so if the dataset you are adding has a coordinate system, the Coord.System section will say “Read from Source.” If there is no coordinate system, it will say “Unknown.” If you know the coordinate system, yet FME doesn’t detect it, you can enter it into the Coord.System box.
如果你是按照所提供的数据,we will set the Coord.System to LL84by typing it into the box.
d.Workflow Options
Workflow Options dictate how the Feature Types appear on the canvas, you can think of a Feature Type as FME’s version of a layer or sheet.“Individual” will have each layer represented as its own Feature Type and “Single Merged” will have all of the layers represented as one Feature Type.
Regardless of the data you are using, leave this set to Individual Feature Types and then click OK to finish adding the Reader.
5.Feature Type
Once you click OK on the Add Reader dialog, a Reader Feature Type will appear on the canvas.A Feature Type defines the schema of the data being read as well as the layers the dataset possesses.This will be the start of the workspace that everything is built upon.
For this example, BusinessOwners is the Feature Type name.
6.Continue to Next Article
If you are continuing to thenext article, please save and then leave your workspace open.
Besides dragging and dropping data onto the canvas, the Add Reader dialog can be brought up by either going to Readers > Add Reader… in the top menu bar or by clicking on the Reader button in the top toolbar.
Canvas:The area in which all objects are added to in FME Workbench
Feature Type:FME’s version of a layer or worksheet that contains theschemaand attributes for the dataset
Reader:The object that reads data into FME Workbench
Schema:The structure of a dataset or, more accurately, a formal definition of a dataset’s structure.
Workbench:An FME application for creating workflows that translate and transform data
Workspace:A workflow definition that can be run in FME Workbench
Coordinate Systems Documentation
Desktop Basic Course: Coordinate Systems
Types of Datasets Documentation
Understanding Schema Documentation
Getting Started with FME Desktop: View Data
Data Attribution
The data used here was randomly generated fromwww.generatedata.com
© 2020 Safe Software Inc |Legal