2

I have several geotagged photos that I am trying to run an analysis on. I am trying to add them as a raster layer in QGIS. Even though they are not an orthomosaic, is it still possible to add them as a raster layer?

Here are some of the photos, which can be downloaded here (download size: 34.2 MB):

The geotagged coordinates are the centroid of each photo, so I have been able to add them to the map as a point layer using the "import geotagged photos" tool:

enter image description here

However, I have not figured out a way to add them as a raster layer. Is there a way to physically add them into QGIS, and not just import their locations? If not QGIS, I am open to using another program to solve this problem if necessary.

6
  • check the georeferencer.
    – Al rl
    Commented Jun 28, 2022 at 23:56
  • Your only option would be to georeference the images manually. I have checked your test images with EXIFtool and your GoPro camera does not include the camera azimuth, pitch, roll, and yaw to automate the georeferencing as described here: linkedin.com/posts/…
    – GBG
    Commented Jul 6, 2022 at 20:30
  • @GBG gdal could also be used, but with only a control point, the result won't be helpful. A better option would be to stich everything together and use the points as GCP.
    – Al rl
    Commented Jul 6, 2022 at 21:09
  • @Al rl - there does not seem to be a zero order polynomial transformation option in GDAL that would allow for a single GCP. gdal.org/programs/gdaltransform.html. Have you done this? If so, any code you could share would be helpful.
    – GBG
    Commented Jul 6, 2022 at 22:34
  • do you really want to import the images as raster or do you want to show the images in a preview when clicking on the vector point? Commented Jul 8, 2022 at 10:17

1 Answer 1

2
+50

Taking into account that a raster is always an squared layer defined by an extension (x*y) and a cell size. There's no way to "import photos as raster", but QGIS has tools to transform those points into a raster.

1st method (squared points raster):

  1. Transform you layer into a projected crs (this makes the following transformations more intuitive).
  2. Rasterize. You can either asign a unique value for cells or asign a value from a parameter of the layer (for example the altitude). You can change the resolution to the value that match the final layout you are looking for.

enter image description here enter image description here enter image description here

2nd method (rounded points rasters):

  1. Transform you layer into a projected crs (this makes the following transformations more intuitive).
  2. Make a buffer of the points. In this case I measure the diameter it should has in the final layout.
  3. Rasterize the buffer as in method 1. In this case, if you select a very tiny cell size you can imitate the dot simbology.

enter image description here

enter image description here

Good luck ¡

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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