How to translate plane coordinates to equirectangular?

Great! I think that this is it!
I will try to understand it and continue experiments.
Big thanks!