Python program that will
1)Define a single point for the red/green dot near the supposedly enemy territory;
2)Define a subset A of your DEM raster image towards the friendly territory;
3)Calculate the line of sight for each pair (of observation pixel to target pixel);
4)Sum the total number of green LoS that you get, which will be less than or equal to the number of pixels in subset A.
Charlie_13 0 Newbie Poster
rproffitt 2,693 https://5calls.org Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.