skinkie / reference

Personal repository where I collect working examples to understand inner workings while building PyNeTExConv
GNU Affero General Public License v3.0
1 stars 1 forks source link

FrameDefaults must be applied upon structures that do not have them #111

Closed skinkie closed 2 weeks ago

skinkie commented 2 weeks ago

Within the Dutch Profile Location/gml:pos has not been explictly tagged with EPSG:28992 for the reason that DefaultLocationSystem has been specified at FrameDefault level, hence inheritance is expected.

My guess is that for every element with attribute srsName being undefined the DefaultLocationSystem should be applied, but we could obviously make that argument for DefaultDataSourceRef, DefaultResponsibilitySetRef and likely the DefaultLanguage and DefaultCurrency too and they should be applied to the respectable elements.

This will introduce a lot of inheritance data. Within the original NeTExConv java code I wrote a "PushDown"-module that would force all sort of inheritance up on the lowest objects (think also in the direction that an OperatorView on a TimetableFrame would bring OperatorRef towards the individual ServiceJourneys).

ue71603 commented 2 weeks ago

With the aux on coordinates I was thinking about such a push-down as well. i guess we should do it, too. Even if it bloats everything.

skinkie commented 2 weeks ago

@ue71603 resolved for dataSourceRef, responsibilitySetRef and srsName.