Skip to content

DirectionType allowed in LineInDirectionRef structure#1017

Closed
ue71603 wants to merge 1 commit intov2.0from
broader_use_DirectionType
Closed

DirectionType allowed in LineInDirectionRef structure#1017
ue71603 wants to merge 1 commit intov2.0from
broader_use_DirectionType

Conversation

@ue71603
Copy link
Copy Markdown
Contributor

@ue71603 ue71603 commented May 6, 2026

In JourneyPattern DirectionType is allowed instead of Direction. This was not done in LineInDirection. We believe that this harmonisation is needed.

@ue71603 ue71603 added this to the netex_2.1 milestone May 6, 2026
@ue71603 ue71603 added the enhancement non semantic enhacement: technical enhancement, etc. label May 6, 2026
@skinkie
Copy link
Copy Markdown
Contributor

skinkie commented May 6, 2026

It contains refs, why do you want to have this container to be an enumeration?

@ue71603
Copy link
Copy Markdown
Contributor Author

ue71603 commented May 6, 2026

We will remove Direction from our profile. We only have two Direction inbound and outbound (and many others have this too). Using Direction to remodel what DirectionType does is not really useful. And as it was mentioned. In JourneyPattern this exact behaviour is also modeled that way.

@skinkie
Copy link
Copy Markdown
Contributor

skinkie commented May 6, 2026

And the meaning is now: this interchange applies to all ServiceJourneys with Line+DirectionType or ServiceJourneys with ServiceJourneyPattern+LineRef+DirectionType?

@ue71603
Copy link
Copy Markdown
Contributor Author

ue71603 commented May 6, 2026

I think different combinations are reasonable:

  • LineRef
  • AllLines
  • LineRef + DirectionRef
  • LineRef + DirectionType
  • ServiceJourney

@TuThoThai
Copy link
Copy Markdown
Collaborator

@ue71603, should not this one target branch v2.1-wip?

@ue71603
Copy link
Copy Markdown
Contributor Author

ue71603 commented May 6, 2026

replaced by #1021...

@skinkie I wasn't able to rebase to v2.1-wip from v2.0. Perhaps another issue with the repo?

@ue71603 ue71603 closed this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement non semantic enhacement: technical enhancement, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants