Users often type errors in spatial extent. This often gives errors, but sometimes very obscure ones.
For example:
'spatial_extent': {'west': [0], 'south': 60.11, 'east': 25.24, 'north': 60.35, 'crs': 'EPSG:4326'},
'spatial_extent': [1,2,3,4],
The following already gives an error:
"spatial_extent": {"east": 4, "north": 51.22, "south": 51.215, "west": 5}, -> geotrellis.vector.ExtentRangeError: Invalid Extent: xmin must be less than xmax (xmin=5.07, xmax=4.08)
Maybe we can also catch UTM coordinates while no CRS is specified.
Users often type errors in spatial extent. This often gives errors, but sometimes very obscure ones.
For example:
'spatial_extent': {'west': [0], 'south': 60.11, 'east': 25.24, 'north': 60.35, 'crs': 'EPSG:4326'},'spatial_extent': [1,2,3,4],The following already gives an error:
"spatial_extent": {"east": 4, "north": 51.22, "south": 51.215, "west": 5},->geotrellis.vector.ExtentRangeError: Invalid Extent: xmin must be less than xmax (xmin=5.07, xmax=4.08)Maybe we can also catch UTM coordinates while no CRS is specified.