I have one track stored in MID/MIF, and a couple of points from other source. It is something like bus route with list of stops. All what I need is to know, how far from the very first stop each other bus stop is. Looks like it is a task for a LengthToPointCalculator, but I can not achieve right way how to use it.:( From what I am starting: I use two MID/MIF readers as sources - one for route, another for stops. Then I use CoordinateExtractor to get X and Y as attributes for each point. And after some alchemy we reach that LengthToPointCalc. I do not want to explain all variants I've tried, but in any case I got only zero as lengths. There are no problem to get length between every pair of sequential bus stops. But I can not imagine how to sum it after that. I will appreciate any help!
Best answer by ebygomm
View original