Workshop infomation

Connection to your training computer

Before we start, please connect to your Remote desktop.

Procedure :

  1. Go to https://www.geopol.ch/#/en/workspaces/worksphop-geopython-2019
  2. Enter your email address
  3. Check your mail box, you have just recieved a new email !
  4. Open the attachment
  5. Run the remote desktop according to your os
Password : FmePython2019



Or if you have FME already install, download the data from the following URL :
https://s3.eu-central-1.amazonaws.com/training.insersa.ch/FME/geopython2019/material/workspaces_data.zip
(if you decide to use your own FME installation, we won’t be able to help you during the workshop if configuration issues happened).



Workshop objectives

This workshop aims to give an overview of the usage of python within a FME workspace.

Background information

A data translation in FME occurs as follow :

Data is read using a component called “reader”, then is transformed with toolboxes called “transformers” and finally the modified data is outputted thought a “writer”.

Python scripts can be inserted in many places in a workspace.

Which corresponds to :

Place Name Exercises
Before the translation begins Startup python script  
As a parameter of the translation Python scripted parameters

Ex4 - 3D data transformation

As an input PythonCreator

Ex2 - Custom reader

During the translation PythonCaller

Ex1 - ACLED downloader

After the translation ends Shutdown Python script

Ex3 - Apocalypse now