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!
Solved
LengthToPointCalculator - many points on one track
Best answer by ebygomm
If you add the line geometry to each feature that contains the x,y attributes the length to point calculator should give you the output you require

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

