Re: InfraAttributes and InfraAttrGroups [message #1411 is a reply to message #1396] |
Fri, 02 September 2016 09:27 |
christian.rahmig
Messages: 465 Registered: January 2016
|
Senior Member |
|
|
Dear Christoph,
let me comment on your post inline:
Am 16.08.2016 um 15:24 schrieb Christoph Jobmann:
> [...]
>
> As far as I can tell the element InfraAttrGroup and thereby
> the underlying InfraAttributes elements can only be
> references by track elements. That makes sense considering
> that most infraAttributes children are strongly connected to
> tracks.
That is correct. Currently, infraAttrGroups can only be referenced from
tracks.
> Are there similar elements that can be used for the elements
> of type ocp? If not - are there plans to add them?
The problem will be solved with railML3 as it will allow to reference
parameter sets (like infrastructure parameters) from any type of
NetElement, even from a whole network. For railML baseline 2, such a
possibility is currently missing.
> For now I see three ways to add information I would rather
> wrap up in some kind of attribute Containers:
>
> Use the regular extension Point and add an element for
> referencing infraAttributes Element Use the "other"
> extension point and add references as user-defined
> attributes or elements. Add a trackref pointing to a dummy
> track that contains an appropriate attributeGroupRefs
> element
>
> I prefer the first option, even though it has the downside
> that it enables connecting an ocp with attributes that only
> make sense for tracks.
I prefer the first version as well: It should be possible to reference
to infraAttrGroups from an OCP, too. The mentioned downside can be
solved by extending the variety of possible parameters so that also
specific OCP features can be modelled.
The main question for now:
Do you need to have a solution for railML baseline 2 or will it be OK if
we solve the issue just with railML 3?
Best regards
Christian
--
Christian Rahmig
railML.infrastructure coordinator
Christian Rahmig – Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|