Exercise 2.2 Basic Data Inspection
Data 3-1-1 case location details (XLS hosted on the web)
Overall Goal Inspect data
Demonstrates Inspect data, including workspace output
Start Workspace None
End Workspace None

Let’s find out how FME Data Inspector works by inspecting some data.

1) Start FME Data Inspector

Start FME Data Inspector by selecting it from the Windows start menu. You’ll find it under Start > FME Desktop 2019.0 > FME Data Inspector 2019.0.

2) Open Dataset in FME Data Inspector

FME Data Inspector will start up and begin with an empty view display.

To open a dataset, select File > Open Dataset from the menu bar, click the Open Dataset icon in the toolbar, or use Ctrl + O:

Let's add a dataset we'll be using in a later unit: local planning areas. This dataset is a KML file of Vancouver's local planning areas, which are designated by the city for purposes of planning and development. It contains their geometry, i.e., the areas they cover, and attributes about them, e.g., their names.

When prompted, fill in the fields in the Select Dataset dialog as follows:

Reader Format Google KML
Reader Dataset C:\FMEData2019\Data\Boundaries\LocalAreas.kml

Click OK, and you will see the Local Areas reader and three feature types (Document, Folder, and local_areas_region) appear in the Display Control window. Additionally, you will see the local areas appear in the View window:

By default, Table View is showing the Document feature type, which doesn't have a schema and therefore has an empty table. Let's switch to the local_areas_region feature type to view the attributes. We can do this by clicking the dropdown at the top of Table View and selecting "LocalAreas [OGCKML] - local_areas_region":

Now you can see the attributes for this feature type in Table View, displayed in a tabbed display next to the Document feature type:

3) Add Dataset in FME Data Inspector

Using Open Dataset always displays the data in a new view in Data Inspector, shown in a tabbed interface above the View window:

Let's practice adding a dataset by loading the results of the previous exercise. To add a dataset to an open view, select File > Add Dataset from the menu bar, click the Add Dataset button on the toolbar, or use Ctrl + D:

When prompted, fill in the fields in the Select Dataset to Add dialog as follows:

Reader Format CSV (Comma Separated Value)
Reader Dataset C:\FMEData2019\Output\Training\CA18COV1 - Service Request Loca.csv

Click OK, and you will see a the CA18COV1... feature type appear in the Display Control window. We can inspect this feature type by switching to it using the Table View dropdown menu:

Now you can see the results of the last exercise in Table View:

4) Add a Background Map

The local areas currently appear without any context. Let's improve the display by adding a background map. Click Add a background map on the toolbar:


FME Lizard says...
You can right-click the View window and select Background Map > Switch to a new background map, if you prefer: This method is sometimes easier when working with smaller screens or Visual Preview.

Click the Source dropdown:

You will notice that FME supports a variety of background map services. Most require an existing account or server, but for this example let's select Stamen Maps, which we can use without an account.

After selecting Stamen Maps, click the ellipsis button to retrieve the list of background map styles available. Select terrain and click OK:

Click Save and close the Add a Background Map window. You should see the background map appear shortly:


Map tiles by Stamen Design, under CC-BY-3.0. Data by OpenStreetMap, under CC-BY-SA.

You can use the pan and zoom tools in the toolbar to move the view around the map:

CONGRATULATIONS
By completing this exercise, you have learned how to:
  • Open datasets in a new view in FME Data Inspector
  • Add datasets in the open view in FME Data Inspector
  • Add a background map in FME Data Inspector

results matching ""

    No results matching ""