IsoCostOffSet
Previous  Top  Next

Property IsoCostOffSet: boolean;

Setting this property to true allows you to add a cost offset to each node, when calculating multi-centered isochrones. This affects these functions: isocostmulti, isogrid, isolink2, isolink4, isopoly2, isopoly3 and isopoly4.

This can for instance be used to create drivetime regions around a number of fire-stations, which has different start times.

To enter the offset values, use the ViaListSet functions as in this example:

IsoCostOffSet = true
SetFastest
NodeListSet(1,80)
NodeListSet(2,107)
NodeListSet(3,45)
ViaListSet(1,"",2)
ViaListSet(2,"",6)
ViaListSet(3,"",4)
StepsAdd(8)
StepsAdd(12)
IsoPoly2("new_drivetime",3,true,0,0,0,0)

This will add 2 minutes to node 80, 6 minutes to node 107 and 4 minutes to node 45. Drivetime isochrones will be drawn at 8 and 12 minutes.

ActiveX / VCL / CLX component: RWcalc