Home » railML newsgroups » railML.infrastructure » Visual positionning in step-by-step example (3.1, visual, render, positioningSystem)
Re: Visual positionning in step-by-step example [message #1779 is a reply to message #1775] Mon, 30 April 2018 16:21 Go to previous messageGo to previous message
christian.rahmig is currently offline  christian.rahmig
Messages: 447
Registered: January 2016
Senior Member
Dear Sebastian,

welcome to the railML forum!

Am 25.04.2018 um 15:16 schrieb Sébastien Laroche:
> Hi,
> I have looked the simple example Step-by-Step
> (050118_railML_SimpleExample_v07.zip) for RailML 3.1 and
> ticket 104. I was wondering how the viewer was able to
> decide the location of a symbol (above or under a track) or
> what tells platform 1 and 2 to be between tracks instead of
> being outside like the other? Is there additional
> spotLocation data defined elsewhere, other section or the
> viewer can make other deduction only by the data in the
> example? Can an infrastructure be rendered only by a
> LinearPositionSystem or we need at least one
> screenPositioningSystems?
> Have a great day.
>

The Simple Example described in the tutorial is missing information
about the lateral position of an element with reference to the
underlaying topology.

(Please note: the following example refers to Simple Example
visualization v0.7 distributed with the Tutorial document 1.0, because
that's the one you used, right? In the meantime, there is already a v0.8
from January 22, 2018, distributed with the Tutorial document 1.1)

So, the platform edge "2" in "Bf Arnau" (right side of NetElement
"ne01") should look like this:

<platformEdge id="ple01" height="550">
<linearLocation id="ple01_lloc01" applicationDirection="both">
<associatedElement netElementRef="ne_a01" intrinsicCoordBegin="0.2"
intrinsicCoordEnd="0.6" keepsOrientation="true">
<linearCoordinateBegin measure="100.0"
positioningSystemRef="lps01" lateralOffset="1.7"/>
<linearCoordinateEnd measure="300.0" positioningSystemRef="lps01"
lateralOffset="1.7"/>
</associatedElement>
</linearLocation>
<name name="2" language="de"/>
<length type="physical" value="200.00" validForDirection="both"/>
</platformEdge>

And the platform edge "2" in "Bf Cstadt" (left side of NetElement
"ne01") should look like this:

<platformEdge id="ple03" height="550">
<linearLocation id="ple03_lloc01" applicationDirection="both">
<associatedElement netElementRef="ne_b01" intrinsicCoordBegin="0.4"
intrinsicCoordEnd="0.8" keepsOrientation="true">
<linearCoordinateBegin measure="4700.0"
positioningSystemRef="lps01" lateralOffset="-1.7"/>
<linearCoordinateEnd measure="4900.0"
positioningSystemRef="lps01" lateralOffset="-1.7"/>
</associatedElement>
</linearLocation>
<name name="2" language="de"/>
<length type="physical" value="200.00" validForDirection="both"/>
</platformEdge>

We will foresee this modification in the next update of the Simple Example.

Regarding your question about the rendering, I would like to hear the
answers from the users: some of them may tell that it is possible to
visualize a railway network just on the basis of the described topology
while others will insist on requiring screen coordinates. The railML
format thus is open to model it both ways depending on the needs. Which
of the solutions do you prefer?

Best regards
Christian

--
Christian Rahmig - Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Phone Coordinator: +49 173 2714509; railML.org: +49 351 47582911
Altplauen 19h; 01187 Dresden; Germany www.railml.org


Christian Rahmig – Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [railML3] Limitation of <hasGaugeClearanceMarker> in <switchIL>
Next Topic: [railML 2] <speedChange> semantic constraints revision
Goto Forum:
  


Current Time: Mon Jul 22 18:23:38 CEST 2024