They go out and point a telescope at the sky, take a picture, identify what are stars and throw them away, look at the galaxies, estimate how far away they are, and plot them up.
調査では望遠鏡を空に向けて写真を撮り 銀河に注目するので恒星は除外して 距離を推定して作図すると