Widen transportation, cartography, confidence types to match data#445
Merged
Victor Schappert (vcschapp) merged 2 commits intodevfrom Feb 18, 2026
Merged
Conversation
Vehicle dimension selectors (height, length, weight, width) use float64 instead of float32 to match the double-precision values in the data platform. Level uses int32 instead of int16 for the same reason. Axle count stays uint8 since it's a discrete count.
Cartography types (Prominence, MinZoom, MaxZoom, SortKey) from uint8 to int32; ConfidenceScore from float32 to float64. Matches actual data ranges in Overture releases.
Adam Lastowka (Rachmanin0xFF)
approved these changes
Feb 17, 2026
Contributor
Adam Lastowka (Rachmanin0xFF)
left a comment
There was a problem hiding this comment.
The type expansions are at parity with the schema changes in #437, which passes validation.
Victor Schappert (vcschapp)
approved these changes
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
float32tofloat64to match double-precision values in the data platformLeveltype widened fromint16toint32for the same reasonVehicleAxleCountSelectorstaysuint8(discrete count)Closes OvertureMaps/tf-data-platform#2829
Test plan
make checkpasses (1612 tests, mypy, ruff)