I've tried to add waiting time in bus stops in several ways (elevation fields, sub-segments, etc), but nothing worked.
I'm now trying to use this script I've found in Internet:
if (SourceID of turn's FromEdge is equal to pedestrian feature class SourceID) and (SourceID of turn's ToEdge is equal to bus route feature class SourceID) add delay of x time to costelse add delay of 0 time to cost
I understand this script works to add the waiting time in bus stops from streets to bus lines, that's what I want. But I don't know what should I substitute in that script from what I've got.
I have these tables:
Streets http://gyazo.com/c5ff76ab62dd137d14ff7cfcff3f464e (a_29 is the time I want to use for people walking)Bus lines Ghttp://gyazo.com/ec68559edcb5f413ebc2be157754a545 (there are 12 bus lines. This capture is from 1 of them)Bus stops http://gyazo.com/77f6f7e5f995d79cff8158527f710bc9 (same, I have 12 bus stops layers).
Also, is the code well-written for VBScript or Python implementation?I suppose also that script is in Bus stops time parameter.
أكثر...
I'm now trying to use this script I've found in Internet:
if (SourceID of turn's FromEdge is equal to pedestrian feature class SourceID) and (SourceID of turn's ToEdge is equal to bus route feature class SourceID) add delay of x time to costelse add delay of 0 time to cost
I understand this script works to add the waiting time in bus stops from streets to bus lines, that's what I want. But I don't know what should I substitute in that script from what I've got.
I have these tables:
Streets http://gyazo.com/c5ff76ab62dd137d14ff7cfcff3f464e (a_29 is the time I want to use for people walking)Bus lines Ghttp://gyazo.com/ec68559edcb5f413ebc2be157754a545 (there are 12 bus lines. This capture is from 1 of them)Bus stops http://gyazo.com/77f6f7e5f995d79cff8158527f710bc9 (same, I have 12 bus stops layers).
Also, is the code well-written for VBScript or Python implementation?I suppose also that script is in Bus stops time parameter.
أكثر...