Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linearly reference road width #121

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Linearly reference road width #121

merged 1 commit into from
Feb 21, 2024

Conversation

vcschapp
Copy link
Collaborator

@vcschapp vcschapp commented Feb 9, 2024

Description

This change enables linear referencing of road width, addressing a known defect in the schema. It also moves the road "width" property under the "road" property since, especially with LR, width is not an obviously generalized property cutting across the whole schema.

We do not currently combobulate road with at all, so once this change is merged we shall have to.

Acknowledgements

This PR builds on Ola's work referenced in the below listed issue and her name is consequently kept on the commit.
compat

Reference

https://github.com/OvertureMaps/schema-wg/issues/151

Testing

  1. Added new compatible examples.
  2. Added new tested counterexamples.

OvertureMaps/schema-wg#151

This is a commit by vcschapp@ that builds on Ola's work from the above-
referenced issue. There are two changes to the schema:

1. Road "width" moves under the "road" property.
2. Road "width" is now linearly-referenced.

The following are changes from Ola's previous work:

1. In keeping with our Parquet compatibility and tooling compatibility
   drive, there is no option for a scalar value for "width": it must
   now always be a non-empty array of rules.
2. I moved "width" under "road" because it's not obvious that it's a
   generalized property even for all types of segment, let alone across
   Overture, especially with the LR facet.
@vcschapp vcschapp merged commit 6ab42b4 into dev Feb 21, 2024
2 checks passed
@vcschapp vcschapp deleted the road_width_lr branch February 21, 2024 15:45
@vcschapp
Copy link
Collaborator Author

Merged it. For Schema TF, @DavidKarlas said Sanjib's approval is good for MSFT, and for Meta, @jwass said Brad's approval is good for Meta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working schema Transportation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants