0

Does any body have an idea about why *.tiff images are not displayed when added as raster layer to QGIS after adding a vector layer which has a polygon geometry?

SOLVED !! In fact the tiff is displayed but not show in the canvas due to a mislocation. a "(QgisInterface)->zoomToActiveLayer()" after adding the raster layer should bring the image to display ^^ Thanks everybody !

  • What software are you using? – GIS-Jonathan Apr 17 '12 at 10:31
  • I'm using Qgis ! – QgisTn Apr 17 '12 at 11:14
  • 1
    Does the raster not display at all or just not in the correct location? – underdark Apr 17 '12 at 11:32
  • The raster layer is added.. but the image is not displayed ! – QgisTn Apr 17 '12 at 11:42
  • Are you certain that it's not displayed? Have you looked around? Often I find that rasters don't have any spatial reference so they sometimes don't line up where they're supposed to. That could be your problem – Emily Apr 17 '12 at 13:38
0

Solved!

In fact the tiff is displayed but not show in the canvas due to a mislocation.

a "(QgisInterface)->zoomToActiveLayer()" after addig the raster layer should bring the image to display ^^

Thanks everybody

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.