force
force copied to clipboard
force-cube is caught in endless loop with specific input options
force-cube ends up in an endless loop when
a) using a vector files as input and
b) the layer is not the same as the filename and
c) the layername is not defined via -l
Just glanced at this very briefly. Seems like force-cube uses the file name if the layer is not provided via -l.
If this is what causes the issue, a possible workaround is simply getting the name of the first layer via ogrinfo. This is what force-level1-csd used in the past: $(ogrinfo "$AOI" | grep "1: " | sed "s/1: //; s/ ([[:alnum:]]*.*)//")