Find Link and Node Items which can be reached from a position, within a given cost. When the cost is related to time, this query is often called an Isochrone.
Visual Basic |
---|
Public Function IsoRoute( _ ByVal list As String, _ ByVal x As Double, _ ByVal y As Double, _ ByVal z As Double, _ ByVal r As Double, _ ByVal isoVal As Double, _ ByVal formula As String, _ ByVal filter As String, _ ByVal locusNoGo As String _ ) As Integer |
Optionally specifies a named Spatial Filter through which no route may pass.
The named Spatial Filter used ("NoGo" in the following examples) will normally have its testing mode set to exclude any Link Items which cross it, using a call similar to the following:
CreateLocusFromItem("NoGo",SIS_GT_INTERSECT,SIS_GM_GEOMETRY)
Available: GEO MM ME MD OM OD OV SISpy
Group:
sis.IsoRoute ("Routes", 2000, 1500, 10, 30, 15,"_length#/((30*5280/3.2808)/60)",_
"links", "NoGo" )
This would normally be followed by:
sis.CreateBoolean ("Routes",SIS_BOOLEAN_OR)
to create a MultiLineString item of all the selected items.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).