I want to use saga_cmd to select from a shapefile only the shapes, which have a certain area size and store this selection into a new shapefile. I'm using the following command to filter via the respective area size:
saga_cmd shapes_tools 3 -SHAPES=objects_8_area.shp -FIELD=AREA -EXPRESSION=a > 5.0 -METHOD=0 saga_cmd
However, it seems that SAGA is not working - means there is no output on the cmd.
Does anyone of you have an idea what the problem might be?
After the selection will work, I would like to store the selection in a new shapefile with:
saga_cmd shapes_tools 6 -INPUT=objects.shp -OUTPUT=objects_red.shp
Or could anyone of you suggest another workaround?
I got a solution in another forum.
https://sourceforge.net/p/saga-gis/discussion/790705/thread/b9a1d1ae/