Commit 4f1bede9 authored by Christoph Marthy's avatar Christoph Marthy
Browse files

Add GADLocation and GNSSLocation to TS 102 657 in ASN.1

parent e531df05
Loading
Loading
Loading
Loading
Loading
+207 −1
Changes for 102657/RDMessage.asn: 207 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -1345,7 +1345,9 @@ Location ::= SEQUENCE
    locationInformationSource   [19] UTF8String OPTIONAL,
    n3gppaLocation              [20] N3gppaLocation OPTIONAL,
        -- format as specified in ETSI TS 129 571 [43]
    transmitterDetails          [21] TransmitterDetails OPTIONAL
    transmitterDetails          [21] TransmitterDetails OPTIONAL,
    gadLocation                 [22] GADLocation OPTIONAL,
    gnssLocation                [23] GNSSLocation OPTIONAL
}

NCGI ::= SEQUENCE
@@ -1595,6 +1597,210 @@ AirTransport ::= SEQUENCE
    ...
}

GADLocation ::= CHOICE {
-- As specified in 3GPP TS 23.023 [12], clause 7.2. 
    point                   [0] EllipsoidPoint,
    pointUncertaintyCircle  [1] EllipsoidPointUncertaintyCircle,
    pointUncertaintyEllipse [2] EllipsoidPointUncertaintyEllipse,
    polygon                 [3] Polygon,
    pointAltitude           [4] EllipsoidPointAltitude,
    pointAltitudeEllipse    [5] EllipsoidPointAltitudeUncertainty,
    ellipsoidArc            [6] EllipsoidArc,
    ...
}

EllipsoidPoint ::= SEQUENCE {
-- As specified in 3GPP TS 23.023 [12], clause 7.3.1. 
    latitudeSign [0] ENUMERATED
    {
        north(0),
        south(1)
    } OPTIONAL,
    latitude     [1] INTEGER (0..8388607) OPTIONAL,
    longitude    [2] INTEGER (-8388608..8388607) OPTIONAL,
    ...
}

EllipsoidPointUncertaintyCircle ::= SEQUENCE {
-- As specified in 3GPP TS 23.023 [12], clause 7.3.2. 
    latitudeSign      [0] ENUMERATED
    {
        north(0),
        south(1)
    } OPTIONAL,
    latitude          [1] INTEGER (0..8388607) OPTIONAL,
    longitude         [2] INTEGER (-8388608..8388607) OPTIONAL,
    uncertaintyRadius [3] INTEGER (0..127) OPTIONAL,
    ...
}

EllipsoidPointUncertaintyEllipse ::= SEQUENCE {
-- As specified in 3GPP TS 23.023 [12], clause 7.3.3. 
    latitudeSign         [0] ENUMERATED
    {
        north(0),
        south(1)
    } OPTIONAL,
    latitude             [1] INTEGER (0..8388607) OPTIONAL,
    longitude            [2] INTEGER (-8388608..8388607) OPTIONAL,
    uncertaintySemiMajor [3] INTEGER (0..127) OPTIONAL,
    uncertaintySemiMinor [4] INTEGER (0..127) OPTIONAL,
    orientationMajorAxis [5] INTEGER (0..179) OPTIONAL,
    confidence           [6] INTEGER (0..100) OPTIONAL,
    ...
}

Polygon ::= SEQUENCE (SIZE(3..15)) OF EllipsoidPoint
-- As specified in 3GPP TS 23.023 [12], clause 7.3.4. 

 
EllipsoidPointAltitude ::= SEQUENCE {
-- As specified in 3GPP TS 2.023 [12], clause 7.3.5. 
    latitudeSign      [0] ENUMERATED
    {
        north(0),
        south(1)
    } OPTIONAL,
    latitude          [1] INTEGER (0..8388607) OPTIONAL,
    longitude         [2] INTEGER (-8388608..8388607) OPTIONAL,
    altitudeDirection [3] ENUMERATED
    {
        height(0),
        depth(1)
    } OPTIONAL,
    altitude          [4] INTEGER (0..32767) OPTIONAL
}

EllipsoidPointAltitudeUncertainty ::= SEQUENCE {
-- As specified in 3GPP TS 2.023 [12], clause 7.3.6. 
    latitudeSign             [0] ENUMERATED
    {
        north(0),
        south(1)
    } OPTIONAL,
    latitude                 [1] INTEGER (0..8388607) OPTIONAL,
    longitude                [2] INTEGER (-8388608..8388607) OPTIONAL,
    altitudeDirection        [3] ENUMERATED
    {
        height(0),
        depth(1)
    } OPTIONAL,
    altitude                 [4] INTEGER (0..32767) OPTIONAL,
    uncertaintySemiMajorAxis [5] INTEGER (0..127) OPTIONAL,
    uncertaintySemiMinorAxis [6] INTEGER (0..127) OPTIONAL,
    orientationMajorAxis     [7] INTEGER (0..179) OPTIONAL,
    uncertaintyAltitude      [8] INTEGER (0..127) OPTIONAL,
    confidence               [9] INTEGER (0..100) OPTIONAL
}

EllipsoidArc ::= SEQUENCE {
-- As specified in 3GPP TS 2.023 [12], clause 7.3.7. 
    latitudeSign      [0] ENUMERATED
    {
        north(0),
        south(1)
    } OPTIONAL,
    latitude          [1] INTEGER (0..8388607) OPTIONAL,
    longitude         [2] INTEGER (-8388608..8388607) OPTIONAL,
    innerRadius       [3] INTEGER (0..65535) OPTIONAL,
    uncertaintyRadius [4] INTEGER (0..127) OPTIONAL,
    offsetAngle       [5] INTEGER (0..179) OPTIONAL,
    includedAngle     [6] INTEGER (0..179) OPTIONAL,
    confidence        [7] INTEGER (0..100) OPTIONAL
}

GNSSLocation ::= SEQUENCE
-- As specified in TS 103 280, clause 6.70
{
    location [0] GeoShape,
    fixMode  [1] FixMode
}

WGS84Location ::= SEQUENCE
{
    location [0] WGS84Coordinate,
    altitude [1] Altitude OPTIONAL
}

WGS84Coordinate ::= CHOICE
{
    decimal [0] WGS84CoordinateDecimal,
    angular [1] WGS84CoordinateAngular
}

WGS84CoordinateDecimal ::= SEQUENCE
{
    latitude  [0] WGS84LatitudeDecimal,
    longitude [1] WGS84LongitudeDecimal
}

WGS84LatitudeDecimal ::= OCTET STRING (SIZE (10))

WGS84LongitudeDecimal ::= OCTET STRING (SIZE (11))

WGS84CoordinateAngular ::= SEQUENCE
{
    latitude  [0] WGS84LatitudeAngular,
    longitude [1] WGS84LongitudeAngular
}

WGS84LatitudeAngular ::= OCTET STRING (SIZE (10))

WGS84LongitudeAngular ::= OCTET STRING (SIZE (11))

GeoShape ::= SEQUENCE
{
    shape      [0] GMLShape,
    confidence [1] Percentage OPTIONAL
}

GMLShape ::= CHOICE
{
    point       [0] GeoPoint,
    sphere      [1] GeoSphere,
    xyEllipsoid [2] XYEllipsoid
}

GeoPoint ::= CHOICE
{
    wGS84Point [0] WGS84Location
}

GeoSphere ::= SEQUENCE
{
    centerPoint  [0] GeoPoint,
    radiusMeters [1] UncertaintyMeters
}

XYEllipsoid ::= SEQUENCE
{
    centerPoint          [0] GeoPoint,
    uncertaintyLongitude [1] UncertaintyMeters,
    uncertaintyLatitude  [2] UncertaintyMeters,
    uncertaintyAltitude  [3] UncertaintyMeters OPTIONAL
}

UncertaintyMeters ::= INTEGER (1..MAX)

FixMode ::= ENUMERATED
{
    unknown(0),
    noFix(1),
    fix2D(2),
    fix3D(3),
    ...
}

Percentage ::= INTEGER (0..100)

Altitude ::= CHOICE
{
    altitudeAboveGroundLevel  [0] AltitudeMeters,
    altitudeAboveMeanSeaLevel [1] AltitudeMeters
}

AltitudeMeters ::= INTEGER (-1000..50000)


-- ===================
-- General definitions