gcd icon indicating copy to clipboard operation
gcd copied to clipboard

GCD Add DEM Survey Allows Loading (to a point) an ESRI Grid!

Open joewheaton opened this issue 5 years ago • 0 comments

The Problem

I had a student doing a homework and she missed the step where you have to prepare your input raster DEM for use in GCD as a *.tif or *.img and just saved it as the default ESRI grid format.

What went wrong? She went to add the DEM survey to the GCD project, and it:

  1. Allowed her to select the esri grid raster (it should filter to only allow what we accept geoTiff or IMG).
  2. Then threw this totally unhelpful exception error that gives her no hint what she did wrong:

image

The solutions:

We should limit the file types in the add or load raster to the types we allow and can work with. If an error is going to get thrown, a more specific message like "GCD does not accept ESRI grids as rasters. You need to save your raster as a *.tif or *.img and try again." would be helpful.

Funny we haven't seen this earlier... I suspect we're so good at telling people how to prep their rasters we have gotten away with it ;)>

joewheaton avatar Feb 19 '21 20:02 joewheaton