Closed michaelkirk closed 2 years ago
I think this is a good idea. The former limits control over resource usage just to print an error. Could blow up log messages, etc.
Another options would be to still allow the incompatible geometry to remain as-is so it's available to error handlers, but change the error reporting message to not Display
the value.
In the absence of data to the contrary, I don't think we have to be maximally flexible in our error handling when it comes to conversions (see #176, #197) and I'd be fine with just changing it rather than retaining it without Display.
Currently when trying to convert from a geojson geometry to an incompatible geo-type (e.g. a Point to a LineString) we use this error:
But instead, I think it'd be more helpful as