lpm_maps.py is the script to automate the process of gathering terrain layers from a list of search incidents.
First, group_IPP is called on the list of SAR incidents in incident_locations.csv. If environments are nearby one another within the specified tolerance, they're grouped together to save time & data when downloading them. An area number is applied to each map in a group, and the results stored in indexed_incidents.csv
collect_terrain() runs through the list of incidents and calls grab_features() from feature_set.py to actually download the maps. This takes a while and requires a lot of storage, around 7 GB for the 65 search incidents.
Unity_heightmap.py can format a terrain layer into a mesh that can be loaded in Unity. I used this to load elevation data into the simulator, but it might work for placing features like rivers, roads, etc. in the game engine too.