GenericSPDescribeCurrentRoute Method |
Produces a route description from the current open item. It assumes
that "LineFilter" has been set up to determine how to locate a
road item at a given point - usually an "Exists". It also assumes that
the overlay, if not composed of links and nodes, at least breaks each
line item at each junction (so that _length# works on each segment).
And that each ID is unique.
Namespace:
Cadcorp.GFB.CadcorpSP
Assembly:
Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic virtual Route DescribeCurrentRoute(
string NameAttribute
)
Public Overridable Function DescribeCurrentRoute (
NameAttribute As String
) As Route
Parameters
- NameAttribute
- Type: SystemString
The attribute that provides the road names.
Return Value
Type:
RouteAn array of route segments.
RemarksShort unnamed segments in the middle of a named road are subsumed into the named parts.
See Also