Andreas has a point though. It seems like a good option to have for a module like grdcut. The grdmask alternative requires two steps and setting of some options. For the -Fpoly.txt option I think we simply want to retain all values inside the polygon and set the outside to NaN. So -F would make that much simpler.