I have a set of files that appear to be ESRI raster image files:
Metro_Highres_value_definitions.xlsx
metro_highres.img.xml
metro_highres.img
metro_highres.lpk
and I've not before seen this type of data.
Looking at the image commands I don't see one appropriate for importing
these data; perhaps r.in.gdal would be appropriate? The provided .xml file
is attached.
Please provide advice on importing these data.
TIA,
Rich
(attachments)
metro_highres.img.xml (7.59 KB)
A quick google of ‘gdal supported formats’ gives:
http://www.gdal.org/formats_list.html
I suggest you have a read. My guess is r.in.gdal would work on your .img file. Have you even tried it?
James
···
James Duffy
PhD Researcher
Environment and Sustainability Institute
Penryn Campus
University of Exeter
Penryn
Cornwall
TR10 9FE
Google Scholar
Hi
As far as I know, .img is ERDAS Imagine raster format.
You should be able to open it with r.in.gdal, as GDAL can both read and write it:
http://www.gdal.org/frmt_hfa.html
/H.
···
On 06/27/2018 05:10 PM, Rich Shepard wrote:
I have a set of files that appear to be ESRI raster image files:
Metro_Highres_value_definitions.xlsx
metro_highres.img.xml
metro_highres.img
metro_highres.lpk
and I’ve not before seen this type of data.
Looking at the image commands I don’t see one appropriate for importing
these data; perhaps r.in.gdal would be appropriate? The provided .xml file
is attached.
Please provide advice on importing these data.
TIA,
Rich
_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[https://lists.osgeo.org/mailman/listinfo/grass-user](https://lists.osgeo.org/mailman/listinfo/grass-user)
On Wed, 27 Jun 2018, James Duffy wrote:
A quick google of 'gdal supported formats' gives:
http://www.gdal.org/formats_list.html
James,
Mea culpa! I should have run ogrinfo --formats before writing.
Thanks,
Rich
On Wed, 27 Jun 2018, Hernán De Angelis wrote:
As far as I know, .img is ERDAS Imagine raster format.
Hernan,
That looks familiar from many years ago.
You should be able to open it with r.in.gdal, as GDAL can both read and
write it: http://www.gdal.org/frmt_hfa.html
I now see that 'gdalinfo --formats | grep .img' has support for it here:
$ gdalinfo --formats | grep .img
HFA -raster- (rw+v): Erdas Imagine Images (.img)
Thanks,
Rich