// floatCoordsFromRow tries to return a coordinate pair for a row of CSV data.
floatCoordsFromRow tries to return a coordinate pair for a row of CSV data.
// floatCoordsFromRow tries to return a coordinate pair for a row of CSV data .
func floatCoordsFromRow(row CsvRow) (Coordinates, error) {
	coords := make(Coordinates, 2)
	latitudeColumn := 8
	longitudeColumn := 9
	lat, err := floatForCol(latitudeColumn, row)
	if err != nil {
		return nil, err
	}
	coords[0] = lat
	lng, err := floatForCol(longitudeColumn, row)
	if err != nil {
		return nil, err
	}
	coords[1] = lng
	return coords, nil
}
func floatCoordsFromRow ( row CsvRow ) ( Coordinates , error ) { coords := make ( Coordinates , 2 ) latitudeColumn := 8 longitudeColumn := 9 lat , err := floatForCol ( latitudeColumn , row ) if err != nil { return nil , err } coords [ 0 ] = lat lng , err := floatForCol ( longitudeColumn , row ) if err != nil { return nil , err } coords [ 1 ] = lng return coords , nil }
floatCoordsFromRow tries to return a coordinate pair for a row of CSV data.
floatCoordsFromRow tries to return a coordinate pair for a row of CSV data .