Skip to content

Commit 7f513e2

Browse files
committed
defect: Fix nested enum GeodeticDatum
1 parent e4869b8 commit 7f513e2

3 files changed

Lines changed: 59 additions & 45 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ Date format: `YYYY-MM-DD`
1919

2020
---
2121

22+
## [1.57.3] - 2025-12-29
23+
24+
### Added
25+
### Changed
26+
- **defect:** Fix nested enum by moving `GeodeticDatum` outside of `GeospatialElevation`.
27+
28+
### Deprecated
29+
### Removed
30+
### Fixed
31+
### Security
32+
33+
---
34+
2235
## [1.57.2] - 2025-12-29
2336

2437
### Added
@@ -475,8 +488,9 @@ package sixafter.types.proto.v1;
475488
### Fixed
476489
### Security
477490

478-
[Unreleased]: https://github.com/sixafter/types/compare/v1.57.2...HEAD
479-
[1.57.1]: https://github.com/sixafter/types/compare/v1.57.1...v1.57.2
491+
[Unreleased]: https://github.com/sixafter/types/compare/v1.57.3...HEAD
492+
[1.57.3]: https://github.com/sixafter/types/compare/v1.57.2...v1.57.3
493+
[1.57.2]: https://github.com/sixafter/types/compare/v1.57.1...v1.57.2
480494
[1.57.1]: https://github.com/sixafter/types/compare/v1.57.0...v1.57.1
481495
[1.57.0]: https://github.com/sixafter/types/compare/v1.56.0...v1.57.0
482496
[1.56.0]: https://github.com/sixafter/types/compare/v1.55.0...v1.56.0

proto/v1/geospatial_elevation.proto

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,27 @@ option java_outer_classname = "GeospatialElevationProto";
2727
option java_package = "com.sixafter.types.v1";
2828
option objc_class_prefix = "TPB";
2929

30+
// The `GeodeticDatum` enum defines the reference system or surface
31+
// against which the elevation is measured. These reference systems are
32+
// approximations of the Earth's surface.
33+
enum GeodeticDatum {
34+
// Unspecified datum. This indicates that no specific reference system
35+
// has been defined for the elevation measurement.
36+
GEODETIC_DATUM_UNSPECIFIED = 0;
37+
38+
// The altitude above mean sea level (MSL), measured in meters.
39+
// This is a commonly used datum for everyday elevation measurements.
40+
GEODETIC_DATUM_SEA_LEVEL = 1;
41+
42+
// The altitude as a height above the World Geodetic System 1984 (WGS84)
43+
// ellipsoid, measured in meters. This is commonly used in GPS systems.
44+
GEODETIC_DATUM_WGS_84 = 2;
45+
}
46+
3047
// The `GeospatialElevation` message represents the vertical direction
3148
// or height of a point relative to a specified reference datum. This
3249
// is commonly used in geolocation, mapping, and geographic information systems (GIS).
3350
message GeospatialElevation {
34-
// The `GeodeticDatum` enum defines the reference system or surface
35-
// against which the elevation is measured. These reference systems are
36-
// approximations of the Earth's surface.
37-
enum GeodeticDatum {
38-
// Unspecified datum. This indicates that no specific reference system
39-
// has been defined for the elevation measurement.
40-
GEODETIC_DATUM_UNSPECIFIED = 0;
41-
42-
// The altitude above mean sea level (MSL), measured in meters.
43-
// This is a commonly used datum for everyday elevation measurements.
44-
GEODETIC_DATUM_SEA_LEVEL = 1;
45-
46-
// The altitude as a height above the World Geodetic System 1984 (WGS84)
47-
// ellipsoid, measured in meters. This is commonly used in GPS systems.
48-
GEODETIC_DATUM_WGS_84 = 2;
49-
}
50-
5151
// The geodetic datum used as the reference point for the elevation measurement.
5252
// Example: `SEA_LEVEL` for altitude above mean sea level.
5353
GeodeticDatum datum = 1;

proto/v1/pb/proto/v1/geospatial_elevation.pb.go

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)