FME Tips and Tricks

Post on 21-Jan-2017

105 views 10 download

transcript

Sensor, Tips and TricksTony MyersBritish Geological Survey

About Me

Tony Myers, Cartographer

Paper to BIM

FME jobs last weekOS MasterMap GML to GDBDiGMap V8 geologyGDB to any GISHS2 route XML to BIMUAE AGS, GDB to 3D geology XML

Sensors

Sensors Tromino – Seismic waves

Sensornet – Temperature, pressure, levels, pH, conductivity, contamination, movement…………

An instrument for passive and active seismic surveying and vibration monitoring

http://www.tromino.eu/

Tromino

FME used to:read spreadsheet of survey points, combine with Tromino imagery to produce multiple outputs e.g. Google Earth and 3D PDF

Google Earth

A network of semi-wireless sensors for studying the environmenthttps://youtu.be/awERzxFbeWo

Sensornet

FME used to:read near real-time XML from web, compare with existing Oracle records and write new data to Oracle

Tips and Tricks BGS FME User Group

Productivity FME TransformersScheduling with FME desktopEmailing with FME desktopKeep an old FME installation

BGS FME User GroupInformal meeting once a monthOpen invite to all potential usersSolve new problems togetherShowcase work doneShare workbenches

Productivity FME TransformersDirectory and File Pathnames reader

Workspace Runner transformer

Together they use less PC resources

Searches 10000 files and runs 1000

Scheduling with FME desktopCreate FME workbenchSave as FME file as well as FMW fileCreate text batch file to run FME fileSchedule text batch file using Windows

Create FME workbench

Save as FME file

Create text batch file

"C:\apps\FME\fme.exe" "\\kwsan\workspace\PP\CartoSouth\Data\GIS_projects\FME\SENSORNET_Water_Level_URL2Oracle_data_nodes_2015_08_onwards_BGSPROD.fme"

Schedule text batch file

Email with FME desktopEstablish an email server e.g. via AcrGIS server

Create email string attribute within workbenchhttp://nercbgskwarc101/FMEEmailAlert/WebService.ashx?EMAIL_TO=tonym@bgs.ac.u&EMAIL_SUBJECT=Sensornet daily data download&EMAIL_BODY=Ran OK last nightSend to email server using the FME HTTPcaller

Replaced with FME 2016.1 Emailer transformer?

Email with FME desktop

Keep an old FME installationFME updates always deliver improvements

But sometimes transformers and writers behave differently e.g. Adobe 3D PDF now uses PRC rather than U3D encoding

Keep an old installation to compare

Thank you!tonym@bgs.ac.uk