analyse sequence in utility networks and gps tracks

24
CONNECT. TRANSFORM. AUTOMATE. Analyse Sequence in Utility Networks and GPS Tracks Dr. Martin Huber Principal Consultant Condesys Consulting GmbH

Upload: safe-software

Post on 26-Jan-2015

368 views

Category:

Technology


0 download

DESCRIPTION

This presentation explores the use of FME to dynamically link objects over space and time through two real-world application examples.

TRANSCRIPT

Page 1: Analyse Sequence in Utility Networks and GPS Tracks

CONNECT. TRANSFORM. AUTOMATE.

Analyse Sequence in Utility Networks and GPS TracksDr. Martin HuberPrincipal Consultant Condesys Consulting GmbH

Page 2: Analyse Sequence in Utility Networks and GPS Tracks

Who is Condesys Consulting?

Build geographic databases, link them to business and generate web services and web applications

From through to

FME lover since 1997

Page 3: Analyse Sequence in Utility Networks and GPS Tracks

What if your network data is not yet a network?

Routing, network analysis, linear referencing are fine tools if your network data is according to what the FME manual says:

Input PortsNetworkLines defining the network in which to find a path or paths.

orOutputNetworkAll connected lines are output through the Network port.

CONNECT. TRANSFORM. AUTOMATE.

Page 4: Analyse Sequence in Utility Networks and GPS Tracks

Might look nice at first sight, but…

Page 5: Analyse Sequence in Utility Networks and GPS Tracks

The Sequence Pattern in FME, simple but not obvious

If you need a network, but disconnected items are all you have, the Sequence Pattern might be of help.

The trick:act FME

Sort

Start

Number (Counter) Number + 1

two streamsRename Attributes

merge

Join v ia Counter and Counter + 1

Ready toAnalise

Page 6: Analyse Sequence in Utility Networks and GPS Tracks

Example 1: GPS Tracks

50 police cars send their position every 60 seconds

Some positions are wrong: how to determine if the previous or the current position is wrong?

Where is the car coming from and where is it heading to?

When will it arrive at the destination?

Page 7: Analyse Sequence in Utility Networks and GPS Tracks

The Real-Time Infrastructure

Page 8: Analyse Sequence in Utility Networks and GPS Tracks

FME Sequence Pattern for GPS Tracks

Page 9: Analyse Sequence in Utility Networks and GPS Tracks

One Example Track

Page 10: Analyse Sequence in Utility Networks and GPS Tracks

Real-Time Determination of Route on Road Network

12 13

GPS position with numberCandidate on road networkKnown routePossible route

12

14

13

UNIGIS University of SalzburgMaster Thesis Marco Saner (2013)

Page 11: Analyse Sequence in Utility Networks and GPS Tracks

Route Predition

UNIGIS University of SalzburgMaster Thesis Marco Saner (2013)

Page 12: Analyse Sequence in Utility Networks and GPS Tracks

Example 2: Electricity Network

Data migration at the Utility of the City of Berne (Energie Wasser Bern ewb)

System A has topological cable network routed through fragemented geometric network (gaps) and linear referencing for branching off of cables

System B needs geometrically connected network cable network linked to geometrical network in proper

sequence with all route sections in order

Page 13: Analyse Sequence in Utility Networks and GPS Tracks

Dramatic Situation

The two companies providing system A and B are not able to migrate the electricity network without loosing connectivity

Stop of the whole project!!!

OR

Page 14: Analyse Sequence in Utility Networks and GPS Tracks

Strategy and Main Tasks

Too many problems to handle in one step, therefore Divide & Conquer

Task 1: split the route sections at each branching off, do not duplicate route section geometries

Task 2: fill the gaps in the geometrical route sections network

In both tasks: produce the link list to link cables to all new route sections they pass through

Page 15: Analyse Sequence in Utility Networks and GPS Tracks

Split Sections andFill Gaps 1 & 2

Page 16: Analyse Sequence in Utility Networks and GPS Tracks

Task 1: Split Lines, Keep Sequence of Sections for Cable

Page 17: Analyse Sequence in Utility Networks and GPS Tracks

Split

Page 18: Analyse Sequence in Utility Networks and GPS Tracks

Renumbering

Page 19: Analyse Sequence in Utility Networks and GPS Tracks

Pattern: Reset Numbers to Start with 1 per Cable

act FME

Sort

Start

Number (Counter) Statistics Min Calculate Count-Min

Ready toAnalise

@Value(CounterValue)+1-@Value(minCounterValuePerCable)

Page 20: Analyse Sequence in Utility Networks and GPS Tracks

Task 2: Fill Gaps, again Keep Sequence of Sections for Cable

Page 21: Analyse Sequence in Utility Networks and GPS Tracks

Pattern: Find Real Neighbours

Page 22: Analyse Sequence in Utility Networks and GPS Tracks

Results

Page 23: Analyse Sequence in Utility Networks and GPS Tracks

Summary

With FME you can go further than well established solution providers

Divide and conquer strategy Sometimes transformer combinations repeat,

make it a pattern and make it a custom transformer

Patterns for sequential analysis and proper neighbourhood topology

Page 24: Analyse Sequence in Utility Networks and GPS Tracks

Thank You!

Questions?

For more information: Dr. Martin Huber,

[email protected] Condesys Consulting GmbH

Stoecklimattweg 18CH-3113 Rubigen

CONNECT. TRANSFORM. AUTOMATE.