Dev:Visualization of a schematic track plan

From railML 3 Wiki
Jump to navigation Jump to search

2024-10-25 railML visTutorial.svg

Examples below are provided by railML.org partner trafIT solutions (link to the railML® website).

Straight netElement

“Straight” netElement: has two coordinates, at beginning and end.

 
        <netElement id="ne_301" length="259.0">
          <associatedPositioningSystem id="ne_301_aps01">
            <intrinsicCoordinate id="ne_301_aps01_ic1" intrinsicCoord="0.0">
              <linearCoordinate measure="7500.0" positioningSystemRef="lps01_lin3"/>
            </intrinsicCoordinate>
            <intrinsicCoordinate id="ne_301_aps01_ic2" intrinsicCoord="1.0">
              <linearCoordinate measure="7759.0" positioningSystemRef="lps01_lin3"/>
            </intrinsicCoordinate>
          </associatedPositioningSystem>
        </netElement>
 
        <spotElementProjection id="sep_ne_301_aps01_ic1" refersToElement="ne_301_aps01_ic1">
          <coordinate x="350.0" y="0.0"/>
        </spotElementProjection>
        <spotElementProjection id="sep_ne_301_aps01_ic2" refersToElement="ne_301_aps01_ic2">
          <coordinate x="330.0" y="20.0"/>
        </spotElementProjection>

netElement with kink

netElement with kink: has three or more coordinates

 
        <netElement id="ne_282" length="1180.0">
          <associatedPositioningSystem id="ne_282_aps01">
            <intrinsicCoordinate id="ne_282_aps01_ic1" intrinsicCoord="0.0">
              <linearCoordinate measure="5325.0" positioningSystemRef="lps01_lin3"/>
            </intrinsicCoordinate>
            <intrinsicCoordinate id="ne_282_aps01_ic2" intrinsicCoord="0.833"/>
            <intrinsicCoordinate id="ne_282_aps01_ic3" intrinsicCoord="1.0">
              <linearCoordinate measure="6505.0" positioningSystemRef="lps01_lin3"/>
            </intrinsicCoordinate>
          </associatedPositioningSystem>
        </netElement>
 
        <spotElementProjection id="sep_ne_282_aps01_ic2" refersToElement="ne_282_aps01_ic2">
          <coordinate x="420.0" y="60.0"/>
        </spotElementProjection>
        <spotElementProjection id="sep_ne_282_aps01_ic1" refersToElement="ne_282_aps01_ic1">
          <coordinate x="520.0" y="60.0"/>
        </spotElementProjection>
        <spotElementProjection id="sep_ne_282_aps01_ic3" refersToElement="ne_282_aps01_ic3">
          <coordinate x="400.0" y="40.0"/>
        </spotElementProjection>