Closed tmcw closed 2 years ago
Part of the intent of toGeoJSON is to handle a wide range of inputs, including invalid inputs. It shouldn't crash and shouldn't produce bad GeoJSON.
This PR adds fixtures with example bad inputs to make sure that the conversion doesn't translate them into bad outputs.
Part of the intent of toGeoJSON is to handle a wide range of inputs, including invalid inputs. It shouldn't crash and shouldn't produce bad GeoJSON.
This PR adds fixtures with example bad inputs to make sure that the conversion doesn't translate them into bad outputs.