Select to view content in your preferred language

Help converting .IMG files to .TIF

522
5
03-06-2024 06:50 AM
matteatsbrains
New Contributor II

Hello, I am very green with ArcGIS Pro so I hope this is the correct place to ask. I would like to do some slope analysis on data I have downloaded from the HiRISE website (specifically this: https://www.uahirise.org/ESP_016671_1615). However when I run slope analysis on the JP2 file I download it comes out as a massive blob of colours. I've read that I would need to convert the .IMG file to something arc could read but I have no clue how to do this. Would anybody be able to help me?

Thanks 🙂

matteatsbrains_0-1709736568763.png

matteatsbrains_1-1709736599784.png

First image is what I have downloaded, seccond is... the blob

0 Kudos
5 Replies
BobBooth1
Esri Contributor

That looks like a hillshade product. You need a terrain model (showing actual elevation values at those locations) in order to do slope analysis.

Looks like they have some such models here:

https://www.uahirise.org/hiwish/maps/dtms.jsp

Once you have a DEM/DTM, you can add it to ArcGIS Pro and try the Slope tool on it. 

You can convert raster file formats in Pro:

https://pro.arcgis.com/en/pro-app/3.1/help/data/imagery/export-or-convert-raster-datasets.htm

 

matteatsbrains
New Contributor II

Hey Bob, just so I have this right, that would mean that I could only run slope analysis on the files they have DTMs of. There would be no way to convert the .IMG?

0 Kudos
BobBooth1
Esri Contributor

You can't run a slope analysis on imagery of different color band values (like a photo, or a landsat image). You need a raster that contains elevation values. If that image is a hillshade (it looks like it is), that implies that they have a corresponding DEM, because hillshades, like slopes are a product derived from a DEM.

BobBooth1
Esri Contributor

It looks as though they have 1,079 DEMs hosted here:

https://www.uahirise.org/dtm/

Tools exist to create DEMs from stereo pairs of images, so if they don't have a DEM for this site (I'll bet they do), if they have stereo image pairs for the site, with additional software and training, you could make a DEM. That would be a much bigger lift than downloading an existing DEM and running a slope analysis.

matteatsbrains
New Contributor II

Ahh right so a bit above the pay grade of an undergrad. Thanks for the help mate! 🙂

 

0 Kudos