Commit 27005a9a authored by rosabolzek's avatar rosabolzek Committed by lengyelb
Browse files

Update _3gpp-common-yang-types.yang

parent 84c137a4
Loading
Loading
Loading
Loading
+43 −2
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ module _3gpp-common-yang-types {
    TTA, TTC). All rights reserved.";
  reference "3GPP TS 28.623";

  revision 2023-11-06 { reference CR-0305; }
  revision 2023-09-18 { reference CR-0271 ; } 
  revision 2023-08-09 { reference CR-0266; }
  revision 2023-05-10 { reference CR-0250; }
@@ -920,7 +921,47 @@ module _3gpp-common-yang-types {
            supported.";
        }
      }
    }
  }
    
  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;
    }
  }
}