Пример #1
0
 private IEnumerable <double[]> WriteCoordinates(CoordinateSequence sequence)
 {
     return(sequence.Select(WriteCoordinate).ToArray());
 }
Пример #2
0
 private IList <GeoCoordinates> ConvertCoordinateSequence(CoordinateSequence source, bool wrapNegative)
 {
     return(source.Select(c => new GeoCoordinates(180 + (wrapNegative && c.Longitude < 0 ? 360 + c.Longitude : c.Longitude), 180 - c.Latitude)).ToList());
 }
Пример #3
0
 private IEnumerable<double[]> WriteCoordinates(CoordinateSequence sequence)
 {
     return sequence.Select(WriteCoordinate).ToArray();
 }