Home » railML newsgroups » railML.infrastructure » limitsTrainDetectionElement
limitsTrainDetectionElement [message #3867] Wed, 14 January 2026 16:15 Go to next message
Mathias Vanden Auweele is currently offline  Mathias Vanden Auweele
Messages: 167
Registered: February 2025
Location: Brussels
Senior Member
Hello,

The https://wiki3.railml.org/wiki/IS:trainDetectionElement has the subelement https://wiki3.railml.org/wiki/Generic:limitsTrainDetectionEl ement

The documentation states: "If the current <trainDetectionElement> is an insulated rail joint or an axle counter and thus a border between two <trainDetectionElement> objects, these two <trainDetectionElement> objects can be referenced"

Does this description and by extension the element itself make sense? If so, can someone give me an example?

Is it possible that the element was meant to refer the two https://wiki3.railml.org/wiki/IL:tvdSection that a trainDetectionElement 'demarcates', the reverse of https://wiki3.railml.org/wiki/IL:hasDemarcatingTraindetector ? In which case the name and description are not appropriate.


Mathias Vanden Auweele
Railway data freelancer
https://matdata.eu
Brussels, Belgium
Re: limitsTrainDetectionElement [message #3870 is a reply to message #3867] Thu, 15 January 2026 16:11 Go to previous message
Jim Kjellberg is currently offline  Jim Kjellberg
Messages: 12
Registered: January 2025
Junior Member
We currently use LimitsTrainDetectionElement in our exporter tool for a interlocking usecase.
Note that this implementation is still under developement and this might be the wrong way to do things, but this is how it's implemented in our software currently.

In the railML file we have TrainDetectionElements of type TrackCircuit and of type insulatedRailJoint.

In the TrainDetectionElement of type insulatedRailJoint we use LimitsTrainDetectionElement to refer to the bordering trainDetectors of type TrackCircuit.

Some dummy railML as example of 2 TrackCircuits on one net element with insulatedJoints separating them in the middle and a pair at either end of the netElement, to show how it looks at the start/end of the protected/supervised track.

<trainDetectionElement id="TDE1" type="trackCircuit">
    <linearLocation>
        <associatedNetElement netElementRef="ne1" intrinsicCoordBegin="0" intrinsicCoordEnd="0.5" >
        </associatedNetElement>
    </linearLocation>
</trainDetectionElement>
<trainDetectionElement id="TDE2" type="trackCircuit">
    <linearLocation>
        <associatedNetElement netElementRef="ne1" intrinsicCoordBegin="0.5" intrinsicCoordEnd="1" >
        </associatedNetElement>
    </linearLocation>
</trainDetectionElement>
<trainDetectionElement id="TDE3" type="insulatedRailJoint">
    <spotLocation netElementRef="ne1" intrinsicCoord="0.5" >
    </spotLocation>
    <limitsTrainDetectionElement ref="TDE1" />
    <limitsTrainDetectionElement ref="TDE2 />
</trainDetectionElement>
<trainDetectionElement id="TDE4" type="insulatedRailJoint">
    <spotLocation netElementRef="ne1" intrinsicCoord="0.5" >
    </spotLocation>
    <limitsTrainDetectionElement ref="TDE1" />
    <limitsTrainDetectionElement ref="TDE2 />
</trainDetectionElement>
<trainDetectionElement id="TDE5" type="insulatedRailJoint">
    <spotLocation netElementRef="ne1" intrinsicCoord="0" >
    </spotLocation>
    <limitsTrainDetectionElement ref="TDE1" />
</trainDetectionElement>
<trainDetectionElement id="TDE6" type="insulatedRailJoint">
    <spotLocation netElementRef="ne1" intrinsicCoord="0" >
    </spotLocation>
    <limitsTrainDetectionElement ref="TDE1" />
</trainDetectionElement>
<trainDetectionElement id="TDE7" type="insulatedRailJoint">
    <spotLocation netElementRef="ne1" intrinsicCoord="1" >
    </spotLocation>
    <limitsTrainDetectionElement ref="TDE2" />
</trainDetectionElement>
<trainDetectionElement id="TDE8" type="insulatedRailJoint">
    <spotLocation netElementRef="ne1" intrinsicCoord="1" >
    </spotLocation>
    <limitsTrainDetectionElement ref="TDE2" />
</trainDetectionElement>

Best Regards

Jim Kjellberg
Systems developer
Trafikverket
Previous Topic: [railML3] Train detection elements
Next Topic: Open Access
Goto Forum:
  


Current Time: Tue Sep 15 11:04:57 CEST 2026