nms-scribe / cosmopoeia

A tool to generate fantasy maps for GIS.
MIT License
3 stars 1 forks source link

Turn of gdal stdout messages #12

Open nms-scribe opened 1 year ago

nms-scribe commented 1 year ago

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.