Skip to content

First proposal to deembed objects#404

Closed
skinkie wants to merge 14 commits intomasterfrom
enhancement_deembed_quays
Closed

First proposal to deembed objects#404
skinkie wants to merge 14 commits intomasterfrom
enhancement_deembed_quays

Conversation

@skinkie
Copy link
Contributor

@skinkie skinkie commented Dec 21, 2022

From the experiences I have had over the past years with the actual use of the NeTEx datamodel, I have come to the realisation that one of the most problematic NeTEx points are generic object embeddings. An example of a generic embedding is a Quay which can currently only be placed under a StopPlace. This has the consequence that a StopPlace must always be defined in order to define a Quay.

Does NeTEx have a solution for it? Yes, one could use a GeneralFrame, which allows to embed any object in any order, but this also loses all the semantic context which are available between parent-child relations and frames.

What I would propose:

  1. allow any objecttype, where it would make sense and can be referenced, to be defined in a frame so a Quay and AccessSpace yes, but StopPointInJourneyPattern no.

Does this resolve everything? Certainly not. NoticeAssignment is a great example that can be applied to any object identifier, and would still require "magic" to correctly link. The other consequence is making inheritance and inference vague for many to one relationships. It is clear that a StopPlace/quays/Quay can infer content from its parent, but would the same go for StopPlace/quays/QuayRef?

seime and others added 14 commits April 29, 2022 09:04
* Removed comment about which editor made the change

* Removed comment about which editor was used
* Added Spotless tool to verify and correct xsd/xml file formatting

* Attempt at making Travis validate

* Add more JVM memory, appears to speed up the formatting process

* Only require reformatting of files that have changed since 'master' branch

* Improved documentation

* More docs on formatting

* Fix command line option

* Replaced shall with must for character encoding

* Initial reformatting using Spotless - rules from Eclipse WTP project located in eclipsecodestyle/xml.prefs

* More reformatting after rebasing

* Updated copyright header year (just to trigger build)

* Set travis timeout to 6 hours. Must be reverted after first build

* Make jar plugin include all xsd files

* Bump spotless to latest version

* Run maven with debug trace

* Attempt at getting travis to run

* Disabled formatting checks in travis temporarily
ConditionSummaryChargingGroup not referenced from ConditionSummaryStructure
…ationGroup

Fix annotation errors and align with definitions in NeTEx pt 3
@skinkie skinkie added the change-request Additional feature, discussed withe the group and having a proper Change Requet in Basecamp. label Dec 21, 2022
@Aurige
Copy link
Contributor

Aurige commented Jun 7, 2023

Just as a side note: I fully agree that "deembeding" is sometimes useful, and that's one of the reasons why France choose the GeneralFrame as a base (and specialised it in the profile) since this already allows deembding (for example, with Quays, see the Le Corbusier - SQYBUS-NeTEx-Profil Arret - External Quays.xml file in the NeTEx SXD example hierarchy).
For some reason, this PR is not in our discussion list for the revision, shall I add it ?

@ue71603
Copy link
Contributor

ue71603 commented Jun 7, 2023

yes, please.

@ue71603 ue71603 added this to the netex_1.2 milestone Dec 1, 2023
@ue71603
Copy link
Contributor

ue71603 commented Apr 10, 2024

@skinkie what do we do with this PR?

@ue71603 ue71603 assigned skinkie and unassigned Aurige Apr 10, 2024
@skinkie
Copy link
Contributor Author

skinkie commented Apr 10, 2024

@nick-knowles doesn't like it.

@skinkie skinkie closed this Apr 10, 2024
@skinkie skinkie deleted the enhancement_deembed_quays branch November 19, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change-request Additional feature, discussed withe the group and having a proper Change Requet in Basecamp. group_decision_needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants