Linear referencing sample application – Pitney Bowes MapXtreme User Manual

Page 386

Advertising
background image

Chapter 21: Linear Referencing

Linear Referencing Sample Application

MapXtreme v7.1

393

Developer Guide

The ICurveSorter interface provides a SortCurves method which returns the curve order as an array
of integers. You would then use the array to get to the list of curves. See the Developer Reference
for a code example.

L

Ordering of curves does not change the x,y position of the nodes.

The interface also provides a DefaultCurveSorter class that, when implemented, only returns the
component curves as advertised by the MultiCurve itself. No ordering is done through its SortCurve
method.

Linear Referencing Sample Application

Provided in the Samples folder of your MapXtreme installation is a linear referencing sample
application that generates multiple parallel line segments representing different characteristics of the
road. In this example, road data that indicates pavement conditions, maximum speed zones and
number of lanes are displayed as offset MultiCurves along the actual roadway to show the condition
or characteristic of a particular road section. Each characteristic or condition is shown in a different
line style.

In a typical MapXtreme table, attributes are applied to the feature as a whole. In linear networks, a
feature has attributes, known as Measure values, that apply to segments of its linear geometry
representation. For example, a roadway typically has sections of good quality or poor quality surface
conditions, or sections that are under repair. These conditions would rarely coincide with the entire
road segment, nor do they coincide exactly with a node on the MultiCurve. However, through a linear
referencing system that uses measure values that are relative to the feature, rather than to the
location on earth, segment data can be captured, queried, displayed and analyzed in new and useful
ways.

Through its linear referencing operations, MapXtreme can dynamically segment MultiCurves based
on these M values. See

Using M values for Linear Referencing

for a description of the supported

operations.

Advertising