Loading yang-models/_3gpp-common-yang-types.yang +43 −2 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ module _3gpp-common-yang-types { network slicing."; reference "3GPP TS 28.623"; revision 2023-11-06 { reference CR-0305; } revision 2023-08-09 { reference CR-0266; } revision 2023-05-10 { reference CR-0250; } revision 2023-02-14 { reference CR-0234; } Loading Loading @@ -917,6 +918,46 @@ module _3gpp-common-yang-types { } } grouping GeoCoordinateGrp { description "Geographical location on earth"; leaf latitude { type decimal64 { fraction-digits 4; range -90..90 ; } mandatory true; description "Latitude based on World Geodetic System (1984 version) global reference frame (WGS 84). Positive values correspond to the northern hemisphere."; } leaf longitude { type decimal64 { fraction-digits 4; range -180..180 ; } mandatory true; description "Longitude based on World Geodetic System (1984 version) global reference frame (WGS 84). Positive values correspond to degrees east of 0 degrees longitude."; } } grouping GeoAreaGrp { description "This data type defines a geographical area. The geo-area is defined using a convex polygon in the attribute 'convexGeoPolygon'."; list convexGeoPolygon { description "Specifies the geographical area with a convex polygon. The convex polygon is specified by its corners."; key "latitude longitude"; min-elements 3; ordered-by user; uses GeoCoordinateGrp; } } } } } Loading
yang-models/_3gpp-common-yang-types.yang +43 −2 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ module _3gpp-common-yang-types { network slicing."; reference "3GPP TS 28.623"; revision 2023-11-06 { reference CR-0305; } revision 2023-08-09 { reference CR-0266; } revision 2023-05-10 { reference CR-0250; } revision 2023-02-14 { reference CR-0234; } Loading Loading @@ -917,6 +918,46 @@ module _3gpp-common-yang-types { } } grouping GeoCoordinateGrp { description "Geographical location on earth"; leaf latitude { type decimal64 { fraction-digits 4; range -90..90 ; } mandatory true; description "Latitude based on World Geodetic System (1984 version) global reference frame (WGS 84). Positive values correspond to the northern hemisphere."; } leaf longitude { type decimal64 { fraction-digits 4; range -180..180 ; } mandatory true; description "Longitude based on World Geodetic System (1984 version) global reference frame (WGS 84). Positive values correspond to degrees east of 0 degrees longitude."; } } grouping GeoAreaGrp { description "This data type defines a geographical area. The geo-area is defined using a convex polygon in the attribute 'convexGeoPolygon'."; list convexGeoPolygon { description "Specifies the geographical area with a convex polygon. The convex polygon is specified by its corners."; key "latitude longitude"; min-elements 3; ordered-by user; uses GeoCoordinateGrp; } } } } }