Gdal has a habit of printing out warnings to stdout when strange things occur: for example, trying to put a Polygon in a Multipolygon layer, or checking validity and finding it's not valid.
Is there any way to turn this off? Unexpected results like the first example above should be errors. Determining that a geometry is invalid shouldn't print anything at all out, although it would be nice if the program could access the reason why.
Gdal has a habit of printing out warnings to stdout when strange things occur: for example, trying to put a Polygon in a Multipolygon layer, or checking validity and finding it's not valid.
Is there any way to turn this off? Unexpected results like the first example above should be errors. Determining that a geometry is invalid shouldn't print anything at all out, although it would be nice if the program could access the reason why.