If it's on the roof, just use glue (epoxy is OK, it's called universal glue)! It's that simple. Wind resistance is first and foremost, but heat dissipation is probably the worst!
If you want to do better, learn from the ground splicing method! I think you will have a better idea!
The other is to install an independent trunking at the installation site, and the solar panels are integrated into the installation surface