production of a midscale road reference network with fme

48
CONNECT. TRANSFORM. AUTOMATE. Production of a midscale road reference network with FME Bruno De Lat GIM Belgium GIS Project Manager

Upload: safe-software

Post on 21-Jun-2015

588 views

Category:

Technology


5 download

DESCRIPTION

This session describes the use of FME in the production of a midscale road reference network starting from two different road network data sources, including the task of linear referencing attributes. See more presentations from the FME User Conference 2014 at: www.safe.com/fmeuc

TRANSCRIPT

Page 1: Production of a Midscale Road Reference Network with FME

CONNECT. TRANSFORM. AUTOMATE.

Production of a midscale road reference network with FME Bruno De Lat GIM Belgium GIS Project Manager

Page 2: Production of a Midscale Road Reference Network with FME

2

Who am I? Bruno De Lat GIM FME Certified Professionel FME Certified Trainer

GIS Project Manager

VAR partner (Gold Value) Belgium 40 employees

GIS GEO-ICT Earth Observation Geomarketing

Page 3: Production of a Midscale Road Reference Network with FME

3

Presentation

1. MRB Road project 1. Goal 2.  2 data sources 3.  Simplified Data Specs

2.  Solutions 1.  FME production 2.  FME validation 3. manual corrections

Page 4: Production of a Midscale Road Reference Network with FME

4

Presentation

1.  MRB Road project 1.  Goal 2.  2 data sources 3.  Simplified Data Specs

2.  Solutions 1.  FME production 2.  FME validation 3. manual corrections

Page 5: Production of a Midscale Road Reference Network with FME

5

Goal MRB roads

!  Create new authentic road network !  Flanders + Brussels + Buffer 50 km

Page 6: Production of a Midscale Road Reference Network with FME

6

Presentation

1.  MRB Road project 1. Goal 2.  2 data sources 3.  Simplified Data Specs

2.  Solutions 1.  FME production 2.  FME validation 3. manual corrections

Page 7: Production of a Midscale Road Reference Network with FME

7

2 data sources GRB (red) ITGI (yellow)

Owner AGIV NGI

Available layers Wegverbinding (wvb) Wegknopen (wkn)

RO_RoadSegmentWithStreetname RO_PathSegment RO_DirtRoadSegment

Coverage Flanders Belgium

Content Street axis Streets (cars) Bike paths Walking paths

Attributes Streetcode CRAB Paved/unpaved Road type

Road Width Paved/unpaved Number of lanes Road Type 2-lane road Street name

Page 8: Production of a Midscale Road Reference Network with FME

8

Presentation

1.  MRB Road project 1. Goal 2.  2 data sources 3.  Simplified Data Specs

2.  Solutions 1.  FME production 2.  FME validation 3. manual corrections

Page 9: Production of a Midscale Road Reference Network with FME

9

Simplified Data specs

2 data sources:

ITGI

GRB

Geometry General rule: priority for yellow

Page 10: Production of a Midscale Road Reference Network with FME

10

Simplified Data specs

!  Geometry !  Exceptions

!  Keep red if yellow is not present (bikes, walking paths)

!  Keep red if red is 2-lane-structure

Page 11: Production of a Midscale Road Reference Network with FME

11

Simplified Data specs

!  Attributes !  Road type: yellow or red !  Street code: yellow (or red) !  Number of lanes: red !  Paved/unpaved: yellow or red !  Road width: red !  Original id’s: red and yellow

Page 12: Production of a Midscale Road Reference Network with FME

12

Dynamic segmentation

!  Some attributes are stored with from to positions.

© AGIV

Page 13: Production of a Midscale Road Reference Network with FME

13

Simplified dataspecs

!  Brunnels !  Bridges and tunnels !  Lower segment/upper segment

Page 14: Production of a Midscale Road Reference Network with FME

14

Presentation

1. MRB Road project 1. Goal 2.  2 data sources 3.  Simplified Data Specs

2.   Solutions 1.  FME production 2.  FME validation 3. manual corrections

Page 15: Production of a Midscale Road Reference Network with FME

FME production steps

15

yellow

red

(1)  Preprocessing: Buffers and Brunnels

Buffers

(2) Recuperation

Geometry

yellow_keep

Red_keep

yellow_remove

Red_remove

(4) Create recuperation table

(3) Geometry manipulations (Add, snap, overshoots

nodes…)

Road-nodes

Original Brunnels

Road segments

Recuperationtable

(5) Calculate Attributes

MRB-roads Brunnels

Page 16: Production of a Midscale Road Reference Network with FME

16

(1) preprocessing

yellow

red

(1)  Preprocessing: Buffers and Brunnels

Buffers (2) Recuperation

Geometry

yellow_keep

Red_keep

yellow_remove

Red_remove

(4) Create recuperation table

(3) Geometry manipulations (Add, snap, overshoots

nodes…)

Road-nodes

Original Brunnels

Road segments

Recuperationtable

(5) Calculate Attributes

MRB-roads Brunnels

Page 17: Production of a Midscale Road Reference Network with FME

17

!  Buffers: !  1m, 5m, 10m, !  VORONOI-principle !  Around yellow segments

!  Use: !  Red is located inside X

number of yellow buffers

!  Y% of red is inside a yellow buffer

(1) Preprocessing Buffers en Brunnels

Page 18: Production of a Midscale Road Reference Network with FME

18

!  Detect original brunnels:

(1) Preprocessing Buffers en Brunnels

Page 19: Production of a Midscale Road Reference Network with FME

19

(2) Recuperation Geometry

yellow

red

(1)  Preprocessing: Buffers and Brunnels

Buffers (2) Recuperation

Geometry

yellow_keep

Red_keep

yellow_remove

Red_remove

(4) Create recuperation table

(3) Geometry manipulations (Add, snap, overshoots

nodes…)

Road-nodes

Original Brunnels

Road segments

Recuperationtable

(5) Calculate Attributes

MRB-roads Brunnels

Page 20: Production of a Midscale Road Reference Network with FME

20

(2) Recuperation Geometry

!  LINK yellow to red if they represent the same road

!  No corrections, just linking original geometries !  Importance:

!  Determine which geometry will be kept/removed. !  Determine from which original segment the

resulting geometry needs to get attribute-information.

Page 21: Production of a Midscale Road Reference Network with FME

21

(2) Recuperation Geometry 2 data sources:

GRB

ITGI

2 data sources:

GRB

ITGI

2 data sources:

ITGI

GRB

Page 22: Production of a Midscale Road Reference Network with FME

22

(2) Recuperation Geometry 2 data sources:

GRB

ITGI

2 data sources:

GRB

ITGI

Difficulties:

(1)  Different digitalisations of crossings.

(2)  1-0, 0-1, 1-1, 1-n, n-1, n-n

0-1

1-0

1-1

2-1

1-2

Page 23: Production of a Midscale Road Reference Network with FME

23

(2) Recuperation Geometry 2 data sources:

GRB

ITGI

2 data sources:

GRB

ITGI

Solution: Waterfall matching

Start with segments which are easy to match and put them away. Continue with the unmatched records. Match again but with less restrictions… continue..

Page 24: Production of a Midscale Road Reference Network with FME

24

(2) Recuperation Geometry 2 data sources:

GRB

ITGI

2 data sources:

GRB

ITGI

Example: Step 2: 0-1

red segments which are completely outside a 10 m buffer of yellow.

Page 25: Production of a Midscale Road Reference Network with FME

25

(2) Recuperation Geometry 2 data sources:

GRB

ITGI

2 data sources:

GRB

ITGI

Example: Step 4: Parameters 1-1

-  At least 70% red needs to be inside 1 5-m-buffer of yellow

-  Length red is 80%-120% of length yellow

-  Maximum average azimuth difference between yellow and red is 15°

-  Street name must match.

-  Distance between both centroids is maximum 20m

Page 26: Production of a Midscale Road Reference Network with FME

26

(2) Recuperation Geometry 2 data sources:

GRB

ITGI

2 data sources:

GRB

ITGI

Example: Step 6: 1 - n

All red segments completely inside 1m GRB buffer

Sum of segment lengths red is 90%-110% of length yellow

Page 27: Production of a Midscale Road Reference Network with FME

27

(2) Recuperation Geometry 36 steps later…

Page 28: Production of a Midscale Road Reference Network with FME

28

(2) Recuperation Geometry

!  Re-use submodels by creating custom transformers with parameters

Page 29: Production of a Midscale Road Reference Network with FME

29

Waterfall matching approach

!  Advantages: !  Full control !  Re-usable custom transformers

!  Disadvantages: !  Weakest spot of the solution !  Parameters can be successful for some situations,

but can introduce bad matches on others.. (Emperical values)

Page 30: Production of a Midscale Road Reference Network with FME

30

FME production steps

yellow

red

(1)  Preprocessing: Buffers and Brunnels

Buffers (2) Recuperation

Geometry

yellow_keep

Red_keep

yellow_remove

Red_remove

(4) Create recuperation table

(3) Geometry manipulations (Add, snap, overshoots

nodes…)

Road-nodes

Original Brunnels

Road segments

Recuperationtable

(5) Calculate Attributes

MRB-roads Brunnels

Page 31: Production of a Midscale Road Reference Network with FME

31

(3) Geometry manipulations

!  Automated geometrical operations !  Merge segments !  Split segments !  Advanced snapping !  Clean arrow-structures !  Clean zigzag-structures !  Clean Triangle Structures !  Determine node types

Page 32: Production of a Midscale Road Reference Network with FME

32

Clean Arrow Structures

!  Integration 2 lane roads

!  Find sharp angles (<82°) crossed by line with dead endpoint (or beginpoint)

Page 33: Production of a Midscale Road Reference Network with FME

33

Result Geometry

Page 34: Production of a Midscale Road Reference Network with FME

34

FME production steps

yellow

red

(1)  Preprocessing: Buffers and Brunnels

Buffers (2) Recuperation

Geometry

yellow_keep

Red_keep

yellow_remove

Red_remove

(4) Create recuperation table

(3) Geometry manipulations (Add, snap, overshoots

nodes…)

Road-nodes

Original Brunnels

Road segments

Recuperation table

(5) Calculate Attributes

MRB-roads Brunnels

Page 35: Production of a Midscale Road Reference Network with FME

35

!  Recuperation tables: Keep link between original ID’s and final road segments.

!  2 tables !  1 contains result of matching (1-0,0-1,1-1,1-n,n-1,n-n) !  1 contains geometrical corrections

!  1-1 !  n-1 (merge) !  1-n (split)

!  FFS-format: Lists!

(4) Recuperation table

Page 36: Production of a Midscale Road Reference Network with FME

36

FME production steps

yellow

red

(1)  Preprocessing: Buffers and Brunnels

Buffers (2) Recuperation

Geometry

yellow_keep

Red_keep

yellow_remove

Red_remove

(4) Create recuperation table

(3) Geometry manipulations (Add, snap, overshoots

nodes…)

Road-nodes

Original Brunnels

Road segments

Recuperationtable

(5) Calculate Attributes

MRB-roads Brunnels

Page 37: Production of a Midscale Road Reference Network with FME

37

(5) Calculate attributes

!  Example project attributes (INPUT)

Page 38: Production of a Midscale Road Reference Network with FME

38

(5) Calculate Attributes

!  Example project attributes (Result)

Page 39: Production of a Midscale Road Reference Network with FME

39

!  For each final segment

!  Loop over (1 or more) Geometry_id !  Loop over (1 or more) original red segments

!  Calculate from-pos and to-pos (“Project” original geometry on road segment)

!  Use necessary attributes !  Loop over (1 or more) original GRB-segments

!  Calculate from-pos and to-pos !  Use necessary attributes

!  After calculation a cleaning operation is necessary if values are equal.

(5) Calculate attributes

Page 40: Production of a Midscale Road Reference Network with FME

40

(5) Calculate Attributes

!  First solution: Algorithm with a loop inside a loop: !  Works fine when 1 records enters, but can work

incorrectly from the moment more than 1 records come in.

!  Must be executed with workspacerunners to avoid interaction in second loop.

!  Workspace runners slows down the solution (FME needs to start each time)

!  Looking for an alternative…

Page 41: Production of a Midscale Road Reference Network with FME

41

The alternative!

!  Cloner! !  Clone each original segment X

times, with X = number of times it is used by new segment

!  Give ID and proces frompos topos algortihm with group by-options.

!  Performance benefit?

Area size Double loop Cloner

5km x 5km 1h30 1m30

20km x 50 km 3 days 10 minutes

Page 42: Production of a Midscale Road Reference Network with FME

42

Presentation

1. MRB Road project 1. Goal 2.  2 data sources 3.  Simplified Data Specs

2.  Solutions 1.  FME production 2.  FME validation 3. manual corrections

Page 43: Production of a Midscale Road Reference Network with FME

43

Automated Validation

!  51 Validation Rules !  Buffer-shapefiles around potentional errors and

situations !  Manual corrections possible

!  Statistics

Page 44: Production of a Midscale Road Reference Network with FME

Annecy - 20-02-2013 44

Automated Validation

Page 45: Production of a Midscale Road Reference Network with FME

45

Presentation

1. MRB Road project 1. Goal 2.  2 data sources 3.  Simplified Data Specs

2.  Solutions 1.  FME production 2.  FME validation 3.  manual corrections

Page 46: Production of a Midscale Road Reference Network with FME

46

Manual Corrections

!  Not all situations can be corrected automatically

Page 47: Production of a Midscale Road Reference Network with FME

47

FME Conclusions

!  Keep pre-processing steps (buffers + brunnels) separated from different models

!  Avoid a double list, use cloner-solution if possible

Page 48: Production of a Midscale Road Reference Network with FME

Thank You!

!  Questions?

!  For more information: !  Bruno De Lat !  GIM (Belgium)

!  www.gim.be !  [email protected]

CONNECT. TRANSFORM. AUTOMATE.