2

I am using QGIS for loading my raster image as raster layer. I want to combine it with my vector layer, which is GEOJSON file. When I load GEOJSON file, it's placed on its coordinates, but the raster picture is placed to coordinates 0,0. Is there a way, how to move the raster "under" my vector layer - I mean how to move it and scale it? Or better - I know its corners coordinates - can I anyhow assign these coordinates to the raster layer, so it's correctly displayed on its position?

2

You need to georeference your raster using the Qgis georeferencing tool (raster < georeference). Follow these steps :

  • load your raster file
  • select the right CRS (the one for which you have coordinates)
  • create points clicking on the raster and entering the coordinates.

4 points is not really enough, if you can, add 2 or 3 more to be sure that it's properly georeferenced.

  • 1
    4 Points are totally fine if you just need to assign the 4 corners and transform linear. – pLumo Feb 20 '17 at 15:00
  • Thanks a lot. Do I need a plugin for this? I have no Raster -> georeference menu option (I use version 2.18). The only available options under Raster menu are: raster calculator, align rasters, projections, conversion, extraction, analysis, miscellanous, gdaltools settings. – user3523426 Feb 22 '17 at 10:35
  • Yes, it's the Georeferencer plugin : docs.qgis.org/2.0/en/docs/user_manual/plugins/… – ConstanceL Feb 22 '17 at 13:39
  • Thanks, the issue was the plugin was installed, but it hasn't been enabled. – user3523426 Feb 23 '17 at 7:48

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.