Select to view content in your preferred language

The process I've used for creating raster datasets in 10.1 doesn't work in 10.2. Why?

5766
16
09-24-2013 08:47 AM
ToddMacPherson
Emerging Contributor
Hello

The process that I have always used to create large raster sets in 10.1 does not work in 10.2 and I do not know why.

The process was as follows:

- Create a file geodatabase
- Create a new empty raster dataset
- Set the Spatial Reference
- Set number of bands to 3

In 10.2 it creates the empty set correctly but when I try and add multiple .img files to it using 'Load Data' the progress bar flashes across the screen in the blink of an eye and is always 0%. It runs through each raster quickly saying 'Loading Raster1.img' etc. It completes in seconds with no errors. However when I try to display it, I get a blank screen.

Doing this process the exact same way with 10.1, it works flawlessly. It adds each img to the dataset and displays perfectly.

Any idea what is going on?

Thanks

THM
0 Kudos
16 Replies
PrasantaBhattarai
Esri Contributor
Hi,

This issue was logged as a software defect with this reference number: NIM094582
You can use the workaround mentioned above by Jeff Swain until the issue is fixed. We apologize on any inconvenience that this issue might cause on your work flow and thank you again for bringing this issue to our attention.

Regards,
Prasanta.
0 Kudos
JacobRaymond
Deactivated User
Hi,

This issue was logged as a software defect with this reference number: NIM094582
You can use the workaround mentioned above by Jeff Swain until the issue is fixed. We apologize on any inconvenience that this issue might cause on your work flow and thank you again for bringing this issue to our attention.

Regards,
Prasanta.


Just as a follow up to this, I have found that if I don't define a projection when creating the raster dataset the imagery actually does load properly.  If I define a projection when creating the raster dataset, even if it is the same projection as the input data, the data loads as "No Data" values.

This is following my original workflows, not the workaround mentioned by Jeff Swain.
0 Kudos
JacobRaymond
Deactivated User
Can you please indicate more about your input data. I see you mentioned 3 band, but not bit depth or anything else about the input rasters?  Usually 3 band rasters are either 8 bit or 16 bit.  Based on your experience, I am guessing that they are 16 bit, because they are usually usually the more problematic.  Can you indicate if the issue is with 16 bit inputs or 8 bit? Also can you indicate what bit depth you are setting on the input raster?  I tested here with some imgs that I had that were 8 bit and they are fine.



Source imagery is 8 bit tif files.
0 Kudos
JeffreySwain
Esri Regular Contributor

The source imagery can be 8 bit, but if the spatial reference is altered or if the NoData value is specified outside the range of 0-255, then the process will resample the raster. In the resampling, rather than delete data or replace values, the bit depth on the raster will be upgraded to the next bit depth.  So if you values run 0-255, a NoData value of say '0' is not set, then the process will make the NoData value 256. Then it will look at the values and upgrade the bit depth. This change from 8 bit to 16 bit usually causes a lot of the loading issues. 

0 Kudos
DaveOrlando
Frequent Contributor

Thanks for this post.

It saved me a few more days of trouble shooting even though two were already wasted. EXTREMELY frustrating to have functionality deteriorate year after year. (at least 25% of my job time goes to chasing bugs and error codes, and 'not responding')

.....and the bug still exists in 10.2.2

0 Kudos
JeffreySwain
Esri Regular Contributor

I understand your frustration. After checking the status of the bug report, it is still marked as
'assigned', which means it is being actively worked on by a developer. I know that it is not a solution, but know that it is still being worked on and should be resolved in future releases.

0 Kudos
JacobRaymond
Deactivated User

Still an issue in 10.3 as well it seems.

0 Kudos