Skip to content

Widen transportation, cartography, confidence types to match data#445

Merged
Victor Schappert (vcschapp) merged 2 commits intodevfrom
fix/tf-2829-transportation-types
Feb 18, 2026
Merged

Widen transportation, cartography, confidence types to match data#445
Victor Schappert (vcschapp) merged 2 commits intodevfrom
fix/tf-2829-transportation-types

Conversation

@mojodna
Copy link
Collaborator

@mojodna Seth Fitzsimmons (mojodna) commented Feb 17, 2026

Summary

  • Vehicle dimension selectors (height, length, weight, width) widened from float32 to float64 to match double-precision values in the data platform
  • Level type widened from int16 to int32 for the same reason
  • VehicleAxleCountSelector stays uint8 (discrete count)

Closes OvertureMaps/tf-data-platform#2829

Test plan

  • make check passes (1612 tests, mypy, ruff)
  • Verify generated Parquet schema matches updated types

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.
@Rachmanin0xFF Adam Lastowka (Rachmanin0xFF) changed the title Widen transportation types to match data Widen transportation, cartography, confidence types to match data Feb 17, 2026
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type expansions are at parity with the schema changes in #437, which passes validation.

@vcschapp Victor Schappert (vcschapp) merged commit a921cb5 into dev Feb 18, 2026
5 checks passed
@vcschapp Victor Schappert (vcschapp) deleted the fix/tf-2829-transportation-types branch February 18, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants