We have several ArcMap georeferenced images (raster datasets) that we are attempting to open in QGIS without any luck. These are not inside of a geodatabase and are not Arcinfo Binary Grid format or Arcinfo Binary Coverages. QGIS supports GDAL rasters and the ArcMap created .aux.xml file contains the georeference points, but QGIS apparently does not recognize this file as it places my Texas image in a very small area of the Atlantic ocean off the coast of Africa (with a google maps basemap added). (THe only other files in the raster dataset are .tfwx and .ovr)

Is there something special I need to do within QGIS to apply the coordinates in the aux.xml created by ArcMap, or something else I'm missing?

Here are the contents of one such aux.xml file:

<?xml version="1.0"?>



-<Metadata domain="Esri">

<MDI key="PyramidResamplingType">NEAREST</MDI>


-<Metadata domain="xml:ESRI" format="xml">

-<GeodataXform xmlns:typens="http://www.esri.com/schemas/ArcGIS/10.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="typens:PolynomialXform">


-<SpatialReference xsi:type="typens:ProjectedCoordinateSystem">
















-<SourceGCPs xsi:type="typens:ArrayOfDouble">










-<TargetGCPs xsi:type="typens:ArrayOfDouble">













  • 1
    The aux.xml file is automatically created if you load a raster layer into QGIS. It does not contain any cell information. You need the original layer (which comes in format .tif for instance) – Curlew Feb 24 '14 at 19:09

Your best bet is to rectify the georeferenced raster and that way there will be no problem when moving between different software. Save your raster as a GeoTiff or GeoJPG and (barring raster statistics) you can dispense with both the aux and the world file.

Any file with a 'W' at the end (e.g. TFW JPW etc) is a world file. A world file that ends in an 'X' denotes an approximate world file, that is one where the transformation cannot be adequately defined within the limits of a conventional world file. Such 'approximate' world files are specific to ArcGIS and Arc uses them in conjunction with the aux.xml file, so by itself, that aux.xml will not help you (as you've discovered).

The irony is that because both ArcGIS and QGIS use GDAL to read and write rasters, they both produce aux.xml file that in theory should be compatible but in practice, because QGIS doesn't use approximate world files, relying on the aux.xml becomes a liability and not a help.

The contents of a 'proper' world file for a rectified raster will look very different to the contents of an equivalent approximate world file (the one with the X). I don't personally recommend hacking it by just chopping off the X.

One more irony (IMHO) is that georeferenced rasters that don't have world files (GeoTiff, GeoJPG etc) have all the projection and CRS information in their headers (or should do) and therefore don't need the aux file except to store raster statistics (hence my opening statement). In fact, that aux file can be a menace because as soon as you open a raster an aux is made even if you only open an image for a quick look. Arc then incorrectly thinks it knows the CRS and projection for your raster before you even georeference it. I've had situations where the aux has got out of sync with the georeferencing process (at which point your only recourse is to kill the aux).

Solution - I always rectify!

| improve this answer | |
  • Thanks for the information. I was going to try rectifying, but it was not available in the georeferencing menus. Once I clicked the control point button, I was able to then rectify, but ArcMap crashed whenever attempting a tiff save as, so I went with PNG. THis seems to work fine, although I did need the supporting files it did open properly georeferenced, so I'm good to go. Any reason I shouldn't use PNG? Seems like a good, lossless compression. Thanks again! – Justincase Feb 25 '14 at 21:34

If you don't need a high accuracy, you could remove the x from the tfwx file and you will have an affine approximation of your transform.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.