I have an Action that loads raster layers (.jp2) into the current QGIS window. This action has been working great in version 1.7.4. I have now upgraded to 1.8.0 for many reasons, but the same Action is not working. Here is the Action I have been using: qgis.utils.iface.addRasterLayer("E:\\Projects\\CityTBay\\Imagery\\2008\\%image")
The Action will load an ortho image from the path location specified. The image name is saved in the filed image. When I use this Action in 1.8.0 the following error occurs:
E:\Projects\CityTBay\Imagery\2008\%image is not a valid or recognized raster data source.
The Action is using the Python option.
Thanks...