private IEnumerable <double[]> WriteCoordinates(CoordinateSequence sequence) { return(sequence.Select(WriteCoordinate).ToArray()); }
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()); }
private IEnumerable<double[]> WriteCoordinates(CoordinateSequence sequence) { return sequence.Select(WriteCoordinate).ToArray(); }