...
Reference | Rules | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(1) | Identify the @srsName that applies (see section 3.2 of the "Use of GML for aviation data" guidance document). If this specification was followed for the data encoding, then it is an attribute of the ancestor aixm:Point, aixm:ElevatedPoint, aixm:Curve, aixm:ElevatedCurve, aixm:Surface or aixm:ElevatedSurface element.
| ||||||||||||||
(2) | Convert the latitude value into the format "DDMMSSH" or "DDMMSS.ssH" as appropriate; trim to 2 decimals if necessary, but do not add trailing zeros after the decimal point! | ||||||||||||||
(3) | Convert the longitude value into the format "DDDMMSSH" or "DDDMMSS.ssH" as appropriate; trim to 2 decimals if necessary, but do not add trailing zeros after the decimal point! | ||||||||||||||
(4) | If @srsName='urn:ogc:def:crs:EPSG::4326', then leave empty this branch. Otherwise, decode the '@srsName' as appropriate: use the CRS name provided in the "Use of GML for aviation data", Annex A. | ||||||||||||||
(5) | Convert each pair of latitude/longitude values of the child gml:posList into the format "DDMMSSH DDDMMSSH"; insert " - " as separator between consecutive "lat long" pairs. | ||||||||||||||
(6) | If a gml:pointProperty is used (in order to refer to the position of a named location), then decode first the lat/long values of its gml:pos child element in the format "DDMMSSH DDDMMSSH", followed by the decoding of its child aixm:annotation. | ||||||||||||||
(7) | Decode the gml:ArcByCenterPoint as detailed in the diagram below Important note: It is assumed that the @srsName applicable to the gml:ArcByCentrePoint has the value 'urn:ogc:def:crs:EPSG::4326'. Otherwise, the result of this decoding might be incorrect.
| ||||||||||||||
(8) | Decode the gml:Arc as detailed in the diagram below:
| ||||||||||||||
(9) | If there exist more than one child element of gml:segments, it is possible that the individual decoding of each gml:GeodesicString, gml:LineStringSegment, gml:ArcByCenterPoint and gml:Arc results into duplicate pairs of lat/long values (because the start of one curve may be the end of the previous one). To prevent this situation, inspect check the complete decoding of the geometry and eliminate any duplicate consecutive lat/long values. | ||||||||||||||
(10) | If there exist more than one child element of gml:segments, it is possible that the individual decoding of each gml:GeodesicString, gml:LineStringSegment, gml:ArcByCenterPoint and gml:Arc results into duplicate pairs of lat/long values (because the start of one curve may be the end of the previous one). To prevent this situation, inspect check the complete decoding of the geometry and eliminate any duplicate consecutive lat/long values. Pay attention that the first and the last position should be identical. If this is not the case, a warning message shall be raised. | ||||||||||||||
(11) | Decode the gml:CircleByCenterPoint as detailed in the diagram below: | (12) |