solving data challenges for implementing linear ... · solving data challenges for implementing...

33
Solving Data Challenges for Implementing Linear Referencing Systems for Asset Management May 6, 2014

Upload: nguyencong

Post on 10-Apr-2018

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Solving Data Challenges for Implementing Linear Referencing Systems for Asset Management

May 6, 2014

Page 2: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

ABOUT US Safe Software

Page 3: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

What we do.

Page 4: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

New to FME?

Page 5: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

New to FME?

Page 6: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

New to FME?

Page 7: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Outline Introduction About LRS FME & LRS Challenges and Solutions Create LRS from Segmented Export LRS to Segmented Assigning Asset Mile Markers Export LRS Assets to GIS Straight Line Diagrams Q&A

Page 8: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Introduction: Linear Referencing Systems

2

3

Hwy 6

1.8

0.9

3.2

4.1

The fence is referenced to Hwy 6, from 2.0 km to 2.8 km

Linear referencing: Associates attributes (events) to locations (station points) or portions of a linear feature (Network Linear Element or Route)

Pipelines

Trains

Automobiles

Page 9: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Linear Referencing vs. Segmentation

Segmented Geometry

Page 10: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Linear Features and Events Event Name NLE Id Event From To

SpeedLimit 1 333 50 0 0.25

SpeedLimit 1 444 70 0.25 1

RoadWidth 1 111 13 0 0.75

RoadWidth 1 222 7.5 0.75 1 LRS Geometry + Events

Page 11: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

FME as an LRS Toolkit LRS Transformer Category

Snipper LengthToPointCalculator MeasureGenerator MeasureExtractor MeasureSetter MeasureRemover

Ad hoc Transformers LineJoiner

creates Paths NeighborFinder LineOnLineOverlayer PathBuilder PathSplitter

Data joins

FeatureMerger InlineQuerier SQLExecutor Joiner

Page 12: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Prerequisites for LRS Success

Clean Data

Even Cleaner Data Segments are noded and connect Complex edges are split at intersections

Handy Transformers for Clean-up

Snapper Intersector TopologyBuilder NetworkTopologyCalculator

Page 13: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Convert Segmented to LRS

Speed = 80 Lanes = 4

Speed = 60 Lanes = 4

Speed = 60 Lanes = 2

Page 14: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Convert Segmented to LRS

Speed = 80 Lanes = 4

Speed = 60 Lanes = 4

Speed = 60 Lanes = 2

Create Path from joined segments, retaining the segment attributes in the geometry.

Page 15: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Convert Segmented to LRS

Speed = 80 Lanes = 4

Speed = 60 Lanes = 4

Speed = 60 Lanes = 2

Generate measures along the Path by distance. Write a copy of Path to Routes table.

30.0 100.0 60.0 0.0

Page 16: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Convert Segmented to LRS

Speed = 80 Lanes = 4

Speed = 60 Lanes = 4

Speed = 60 Lanes = 2

Split the Path back into segments, retaining the distance measure on each segment

0.0 100.0 30.0 60.0

Page 17: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Convert Segmented to LRS

Speed = 80 Lanes = 4

Speed = 60 Lanes = 4

Speed = 60 Lanes = 2

Join segments by value for each attribute then extract start/end measure for event tables

0.0 100.0 30.0 60.0

30.0 100.0

0.0 60.0

0.0

100.0

Road ID

Speed Begin End

1 80 0.0 30.0

1 60 30.0 100.0

Road ID

Lanes Begin End

1 4 0.0 60.0

1 2 60.0 100.0

Speed = 80 Speed = 60

Lanes = 4 Lanes = 2

Page 18: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Export LRS to Segmented

0.0 100.0

Road ID

Speed Begin End

1 80 0.0 30.0

1 60 30.0 100.0

Road ID

Lanes Begin End

1 4 0.0 60.0

1 2 60.0 100.0

Page 19: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Export LRS to Segmented

0.0 100.0

0.0 100.0

0.0 100.0

0.0 100.0

Speed = 80, from 0.0 to 30.0

Speed = 60, from 30.0 to 100.0

Lanes = 4, from 0.0 to 60.0

Lanes = 2, from 60.0 to 100.0

Merge Route geometry onto Events

Page 20: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Export LRS to Segmented

0.0 30.0

30.0 100.0

0.0 60.0

60.0 100.0

Speed = 80

Speed = 60

Lanes = 4

Lanes = 2

Clip each event line to its range

Page 21: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Export LRS to Segmented

30.0 0.0 60.0 100.0

Speed = 80 Speed = 60

Lanes = 4 Lanes = 2

Overlay all Event lines to get segmented line with attributes

Speed = 80 Lanes = 4

Speed = 60 Lanes = 4

Speed = 60 Lanes = 2

Page 22: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Assigning Asset Mile Markers

Lighting Asset Survey Load MS Excel contractor data into SQL Server Spatial Clean-up:

Convert DMS Lat/Long to point geometry (Decimal Degree) 82 59 26.098235061 - 82.9905828430725

41 30 43.068175401 + 41.5119633820558

NUMBER LONGITUDE LATITUDE CONDITION TYPE TYPE_OF_LUMINARE VOLTAGE WATTS CONTROLCENTER

1 82 59 26.098235061 - 41 30 43.068175401 + Good NAV RED INCANDESCENT 120/12 9.24 61 2 82 59 26.563977418 - 41 30 43.362121522 + Good NAV GRN INCANDESCENT 120/12 9.24 61 3 82 59 27.002814710 - 41 30 43.641866642 + Good NAV RED INCANDESCENT 120/12 9.24 61 4 82 59 27.463651489 - 41 30 43.939960952 + Good NAV GRN INCANDESCENT 120/12 9.24 61 5 82 59 27.905565366 - 41 30 44.219406077 + Good NAV RED INCANDESCENT 120/12 9.24 61 6 82 59 28.380990900 - 41 30 44.520466955 + Good NAV GRN INCANDESCENT 120/12 9.24 61 7 82 59 28.820540125 - 41 30 44.791771643 + Good NAV RED INCANDESCENT 120/12 9.24 61 8 82 59 29.286365301 - 41 30 45.086728701 + Good NAV GRN INCANDESCENT 120/12 9.24 61 9 82 59 29.737492954 - 41 30 45.371434802 + Good NAV RED INCANDESCENT 120/12 9.24 61

10 82 59 25.384842845 - 41 30 43.722834132 + Good NAV RED INCANDESCENT 120/12 9.24 61

Page 23: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Assigning Asset Mile Markers Source Data:

Road Network (LRS) Asset Data (Points)

OBJECTID LRSMilePost OffsetDistance NLF_ID POLE_NUMBER LONGITUDE LATITUDE1 11.78839883 2.770986201 SLUCIR00075**C 1V 8 83 29 21.266391408 - 41 43 51.633274801 +2 11.72399825 7.447207932 SLUCIR00075**C 1V 7 83 29 22.644560785 - 41 43 48.473490784 +3 11.66151132 5.949640975 SLUCIR00075**C 1V 6 83 29 24.443518616 - 41 43 45.538665843 +4 11.59833821 3.235847944 SLUCIR00075**C 1V 5 83 29 26.677974226 - 41 43 42.732170571 +5 11.53649745 5.423784383 SLUCIR00075**C 1V 4 83 29 29.312351057 - 41 43 40.196923342 +6 11.47506474 7.387156735 SLUCIR00075**C 1V 3 83 29 32.289883973 - 41 43 37.924292180 +7 11.41205292 5.570752858 SLUCIR00075**C 1V 2 83 29 35.613086752 - 41 43 35.879096331 +

Page 24: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Assigning Asset Mile Markers

Closest candidate XY

Angle (from horizontal)

Use the NeighborFinder to merge the nearest route attributes and geometry onto the Asset. Also calculates the closest point on route line to the Asset.

Asset

Page 25: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Assigning Asset Mile Markers

Closest candidate XY

Calculate distance along Route to the Asset closest point, then snip by distance to create point. Extract Mile Marker from point Route measure.

Page 26: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Export LRS Assets to GIS

Simpler version of Event Extraction. Line is snipped to Marker value, creating point. No overlay required.

Signal ID Status Road Name Marker

271 In Service Highway 15 993.883

204 In Service Highway 15 1233.998

134 In Service Highway 15 2854.226

311 In Service Highway 15 3145.697

Page 27: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Back / Ahead Measures

Accumulate Route Mileage (ARM) value vs. State Route Milepost (SRMP) value

Page 28: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Back / Ahead Measures

Shortened Route: • Snip line into Before/After parts based on equation. • Adjust measure on After part by equation. • Asset conversions will now work.

46.18 46.36

45.97 46.15

Equation: 46.15 = 46.18 46.36 45.97

Page 29: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Back / Ahead Measures

Lengthened Route: • Snip line into Before/After parts based on equation. • Adjust measure on After part by equation. • Converting Asset to LRS, use measure name to set back flag. • Converting to GIS, use flag to determine which measure to use.

44.25 44.50

44.03 Name measure to ‘back’

Equation: 44.30B = 44.25 44.50 44.03

44.30

Page 30: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Straight Line Diagrams

Convert distance measures to percentage. Point events are symbolized on axis line. Linear events become bar graph.

Page 31: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Straight Line Diagrams

For segmented data, use conversion techniques before creating diagram. StraightLineDiagrammer transformer available in FME Store.

Page 32: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Q&A

Page 33: Solving Data Challenges for Implementing Linear ... · Solving Data Challenges for Implementing Linear . Referencing Systems for Asset Management . May 6, ... Q&A. Introduction: Linear

Thank you!

Presenter [email protected] Support www.safe.com/support (604) 501-9985 ext. 278