Straight Line
The gml:GeodesicString shall be used as default encoding for straight lines. The reasons are:
- A geodesic interpolation is the mathematical generalization of the notion of “straight line” on the surface of the Earth;
- The result of the interpolation on the surface of the Earth does not depend on the CRS used; by contrast, a linear interpolation would result on different curves on the surface of the Earth, depending on the CRS used (in fact, this will be exploited in order to encode lines along a parallel, see further down).
The pairs of lat/long coordinates can be encoded as either a sequence of gml:pos or, more compact, using a gml:posList element: