Chosing the samplingStep parameters in the FootprintOverlapDetector

Hi all,

I’m using the FootprintOverlapDetector to get the passes of the field of view over an area on the Earth.
In the constructor there is the parameter “samplingStep” with the following description:
samplingStep - linear step used for sampling the geographic zone (in meters)

I understand that if the sampling step is too big (let’s say 1000m), it probably will not detect small zones (for example a square area with a side of 10m). But If I put a small value (for example, 100m) I got a memory error.
Do you have an idea of what I’m doing wrong? How could I be sure that small areas are being detected?

Hi @jjbb , welcome!

To put it simply, you can’t.
The FootprintOverlapDetector is severely limited in this respect, it should be completely redesigned to be much faster and avoiding sampling the full region with millions of points. Up to now, we have not found any alternative implementation.