Select to view content in your preferred language

RasterLayer from TIF file not reading metadata .xml

107
1
Thursday
Labels (3)
YasunariTosa1
Emerging Contributor

Reading a USGS created tif file (n10_ak.tif) with metadata .xml (n10_ak.tif.xml) by RasterLayer ctor.  The result of RasterLayer SpatialReference and FullExtent.SpatialReference are both null.  ArcGISPro v.3.41 read it and no problem showing in map.  Interestingly another USGS created tif file (USGS_SIM-3340_1.tif) and metadata xml (USGS_SIM-3340_1.tif.aux.xml) are read by RasterLayer and have SpatialReference correctly set.   The format of xml file is different between the two.  Is there a way to n10_ak.tif to have a spatial reference read?   RasterLayer SpatialReference and FullExtent.SpatialReference are getter only.   I cannot post tiff files with associated xml files, since the file extension is tif and xml are not supported and the file size is bigger than 9MB.

0 Kudos
1 Reply
YasunariTosa1
Emerging Contributor

For people curious for the file is below:   

https://www.sciencebase.gov/catalog/item/65ccea5bd34ef4b119cb3bac
Slope-Relief Threshold Landslide Susceptibility Models for the United States and Puerto Rico
Attached Files
n10_susc.zip which contains n10_ak.tif and n10_ak.tif.xml

ArcGISPro has no problem reading the file and show on the map.

0 Kudos