Make a special map for rover

I am going to make a survey map for a rover running in ground instead of drone.
I have searched very long time to find the source code of the map generation, but not found it.
Anyone konw Where is the sorce code file that makes the survey map?
Thank you