Home » railML newsgroups » railML.infrastructure » Interpreting "begin" and "end" in the sub elements <linearCoordinateBegin> and <linearCoordinateEnd>
Interpreting "begin" and "end" in the sub elements <linearCoordinateBegin> and <linearCoordinateEnd> [message #3541] Mon, 07 April 2025 10:22 Go to previous message
Torben Brand is currently offline  Torben Brand
Messages: 225
Registered: March 2016
Senior Member
There seems to be an ambiguity in the meaning of "begin" and "end" in the sub elements <linearCoordinateBegin> and <linearCoordinateEnd> in <linearLocation/associatedNetElement> [1]

Ref documentation of <linearCoordinateBegin> [2]:
"linear coordinate of the beginning of area covered by some functional IS entity"

Some interpret begin and end to be in the direction of the net element. Others see it in the application direction of the (functionalInfrastructure) object that creates the linear location.
I have seen (certified) code examples for both. So, I suggest allowing the ambiguity for now. But to discuss if we should make it more consistent in railML 3.4.

We could also discuss to make it at least a bit more consistent for now to add the following sematic constraint or best
practice:
If you are using linearLocation@applicationDirection then <linearCoordinateBegin> and <linearCoordinateEnd> follows the direction of the net element. If linearLocation@applicationDirection is NOT set, then <linearCoordinateBegin> and <linearCoordinateEnd> follows the application direction of the (functionalInfrastructure) object.

See also related post #3297 [3]


[1] https://wiki3.railml.org/wiki/RTM:associatedNetElement#3.3-0
[2] https://wiki3.railml.org/wiki/RTM:linearCoordinateBegin#3.3- 0
[3] https://www.railml.org/forum/index.php?t=msg&goto=3297&a mp;&srch=linearCoordinateBegin#msg_3297
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [railML 3.4 bèta 3] PlatformEdge's new attribute "lateralDistance"
Next Topic: [railML3] Proposal for a new semantic constraint for associatedPositioningSystem
Goto Forum:
  


Current Time: Wed Oct 07 18:05:55 CEST 2026