Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver FME Translation Customization with Python Tom Weir, Safe Software.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Information Technology Quiz Questions with Answers Part 9
Manually advance slides – use Cursor keys or Page Up/Down 1.
Chungnam National University DataBase System Lab
3rd Annual Plex/2E Worldwide Users Conference Page based on Title Slide from Slide Layout palette. Design is cacorp Title text for Title or Divider.
Info to Enterprise Migration Implementation Case Study: SBC Corporation Presented to the Crystal Decisions Regional Users Group for the Bay Area on October.
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
Slide 1 Insert your own content. Slide 2 Insert your own content.
1 György Pirok, Szilárd Dóránt May, 2005 What is Marvin and how to...
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 12 Introduction to ASP.NET.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Slide 1 FastFacts Feature Presentation October 24, 2013 To dial in, use this phone number and participant code… Phone number: Participant.
Tom Sugden EPCC OGSA-DAI Future Directions OGSA-DAI User's Forum GridWorld 2006, Washington DC 14 September 2006.
Extending Eclipse CDT for Remote Target Debugging Thomas Fletcher Director, Automotive Engineering Services QNX Software Systems.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
T2 PowerPark and SCT Banner
Research Triangle Park, NC
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
1 State Wildlife Action Plans Wiki: Business Transformation Tutorial Brand Niemann July 5, 2008
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Copyright 2006 Digital Enterprise Research Institute. All rights reserved. MarcOnt Initiative Tools for collaborative ontology development.
ZMQS ZMQS
©2011 Quest Software, Inc. All rights reserved.. Andrei Polevoi, Tatiana Golubovich Program Management Group ActiveRoles Add-on Manager Overview.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
Software change management
Suite Suite 2 TPF Software – Overview Binary Editor Remote Scripts zTREX Add-Ins & Project Integration with Source Control Manager.
Campaign Overview Mailers Mailing Lists
ABC Technology Project
Openshift PostgreSQL Cartridges Overview
Request Tracker IT Partners Conference Oliver Thomas 19 April 2005.
AITS Client Services Support University of Illinois July 2010.
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
Danmarks Statistik 2004 FME & Geodatabases - experiences and expectations in KMS Peter Laulund Nationale Geodatabank, KMS
HORIZONT TWS/WebAdmin TWS/WebAdmin for Distributed
Michelle Mizumori Director, Operations Reliability Messaging Tool May 14, 2014.
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
© 2008 Security Compass inc. 1 Firefox Plug-ins for Application Penetration Testing Exploit-Me.
Brickvention 2006Page 1 Introduction to LDraw. Brickvention 2006Page 2 Goal: Orientation Available virtual LEGO resources System Components Uses of the.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software processes 2.
DB Relay An Introduction. INSPIRATION Database access is WAY TOO HARD The crux.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
1 of 31 Images from Africa. 2 of 31 My little Haitian friend Antoine (1985)
Enhancing Spotfire with the Power of R
SCAPE Carl Wilson Open Planets Foundation SCAPE Training Guimarães Characterisation An introduction to the identification and characterisation of.
Continued Investment in ATML
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 15 Programming and Languages: Telling the Computer What to Do.
Week 1.
We will resume in: 25 Minutes.
1 Unit 1 Kinematics Chapter 1 Day
CHAPTER 11 FILE INPUT & OUTPUT Introduction to Computer Science Using Ruby (c) 2012 Ophir Frieder et al.
PowerBuilder 11: Deploying Business Logic as .NET Assemblies
The PLASTIC Model to HUTN transformation tool UDA.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 4 Beginning Functions 4/5/09 Python Mini-Course: Day 1 - Lesson 4 1.
Using the Import Accounting Line Feature You may enter accounting lines one by one in KFS or may enter multiple accounts at once using the Import Accounting.
Lecture 04 – Classes.  Python has a number of classes built-in  lists, dictionaries, sets, int, float, boolean, strings  We can define our own classes.
1 Implementing DDIEditor in the Danish Data Archive - Demonstration and gained experience Part of session: Recent Developments in the DDI Implementation.
Windfall Web Throughout this slide show there will be hyperlinks (highlighted in blue). Follow the hyperlinks to navigate to the specified Topic or Figure.
Sep , 2006 v FME Worldwide User Conference - Vancouver What’s New in ArcGIS Data Interoperability Extension Kim Avery, ESRI, California, USA, and.
Sep , 2006 v FME Worldwide User Conference - Vancouver Customizing SpatialDirect Ken Bragg, Safe Software, Vancouver, BC.
Sep , 2006 v FME Worldwide User Conference - Vancouver Using FME Objects Python API to Provide Platform Independent Translations Andrew Smith, Lagen.
Information Screen Different options to realize. Idea one – You want this if: It should be easy to provide information ◦ Even for non-technical advanced.
MULTILINGUAL USER INTERFACE
Presentation transcript:

Sep , 2006 v FME Worldwide User Conference - Vancouver FME Translation Customization with Python Tom Weir, Safe Software

Customizing FME Translations with Python 2 Background  Who is Tom Weir?  Safe Software  Lead Developer on the these projects:  Python ;)  KML Writer  Template Writer  Windows installer  fmepedia.com  FME GENTRANS

Customizing FME Translations with Python 3 A Little History  FME 2004 ICE  Wouldn’t it be cool if we had a Python FME Objects API?

Customizing FME Translations with Python 4 A Little History  FME 2004 ICE  Wouldn’t it be cool if we had a Python FME Objects API?  FME 2005  Can fme.exe run python scripts?

Customizing FME Translations with Python 5 A Little History  FME 2004 ICE  Wouldn’t it be cool if we had a Python FME Objects API  FME 2005  Can fme.exe run python scripts?  FME 2006  How about running.py scripts before/after a translation?

Customizing FME Translations with Python 6 A Little History  FME 2004 ICE  Wouldn’t it be cool if we had a Python FME Objects API  FME 2005  Can fme.exe run python scripts?  FME 2006  How about running.py scripts before/after a translation?  FME 2006 GB  We’ve How

Customizing FME Translations with Python 7 The Future: FME 2007  PythonFactory  PythonCaller (Enhanced)  PythonCreator  Workbench Script Editor

Customizing FME Translations with Python 8 Preliminaries  You must provide your own Python  2.3, 2.4, or 2.5  Python.org or ActiveState.com distro  FME will choose a python to load  Python 2.4 is currently preferred  Preference will change to 2.5 shortly  Override with the “FME_PYTHON_VERSION” directive

Customizing FME Translations with Python 9 pyfme  Python FME Objects Wrapper  Full access to the FME Objects API  No Rich Geometry or Raster support (yet)  Docs here:   Important Classes:  FMEFeature & FMELogfile  Used for creating Python apps  Also used by PythonFactory

Customizing FME Translations with Python 10 Begin/End Python  AKA Workbench “Startup/Shutdown” Python Scripts  Run Python scripts before and after the FME translation  Files executed in the __main__ namespace  FME sets status & statistics variables  Useful for performing custom workflow actions & reporting

Customizing FME Translations with Python  Python fn accepts feature + arbitrary # of parameters  Python fn returns string or none  Ancient history: PythonCaller now uses PythonFactory

Customizing FME Translations with Python 12 PythonFactory  Can be implemented using Python functions, classes, or instances  Functions are single-in single-out  Classes/Instances allow multiple-in multiple-out scenarios  Much more flexible  Can be used to create readers & writers work-alikes

Customizing FME Translations with Python 13 Workbench Goodies  PythonCaller Transformer  PythonCreator Transformer  New “Advanced” Workbench Settings:  Startup/Shutdown Python script parameters  Wicked cool script editor

Customizing FME Translations with Python 14 Why use Python?  Web Services  Text parsing  Custom algorithms  Custom logging  Readlets  Friendlier scripting syntax

Customizing FME Translations with Python 15 Examples  Available at

Customizing FME Translations with Python 16 Further Information    Grab me anytime during the UC  Ask me about:  Python ;)  KML  FME Deployment (aka the installer)  fmepedia.com