[Qgis-user] Placing group of image at once

Karlo no Dabas maajas karlo at latnet.lv
Wed Aug 20 08:54:31 PDT 2025


Hi,

First of all – are You using JPG or PNG format images. Your text is a 
bit confusing.

JPG images are associated with JGW or WLD _world_ _format_ files.

XML can contain anything. Provide example.

Good luck,
Kārlis

20.08.25 17:20, Léopold Stoessel via QGIS-User rakstīja:
> Hello,
> 
> Our team is currently working on a project to reconstruct the railways 
> of Canada using QGIS. To do this, we collect data directly on the rails, 
> taking a photo every 2 meters. Each image (JPG) is accompanied by an XML 
> file containing its GPS coordinates (EPSG:4326) and orientation.
> 
> Our goal is to display all the images on a QGIS map at their correct 
> geographic location and with the proper orientation. (Example image: 
> /Try.jpg/)
> 
> As far as I understand, a JPG file needs either an associated PGW world 
> file or must be converted into a georeferenced TIFF in order to be 
> correctly placed on the map.
> 
> Here are the challenges we're facing:
> 
>   * *PGW method*: I tried placing a PNG file with a PGW of the same name
>     in the same directory, but QGIS seems to ignore the PGW file and
>     creates HTML document with other coordinates instead.
>   * *GeoTIFF method*: With over 500,000 images, manually georeferencing
>     each one is not feasible.
> 
> So I would like to ask for your advice:
> 
>   * Are we on the right track with our approach?
>   * Which method would you recommend in our case?
>   * Do you know of any way to automate the image placement and
>     orientation based on our XML data?
>   * Would it be possible to handle this through the Python console or
>     using PyQGIS?
> 
> Any guidance or suggestions would be greatly appreciated.
> 
> Thanks in advance for your time and help!
> 
> **
> 
> **
> 
> ** <https://www.cefrail.ca/>** 
> <https://www.facebook.com/cefrail>**<https://www.linkedin.com/authwall?trk=bf&trkInfo=AQEjKKnHH0hB2QAAAYzqp8YogvhljVV4rfWfPZk4nt7Fxp7t-jgeC03T84SUqgFnFtN8YLHip3me96M7mf832Uiq6YnFyyw3y1AU8c10Tw4twclYPuLl6KexU9lj_p4Hp_UeifI=&original_referer=&sessionRedirect=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fcefrail>
> 
> 	
> 
> *Léopold Stoessel*
> 
> Stagiaire - Génie ferroviaire
> 
> 1 866 544-RAIL
> 
> _leopold.stoessel at cegepsi.ca <mailto:leopold.stoessel at cegepsi.ca>_
> 
> _www.cefrail.ca <http://www.cefrail.ca/> _
> 
> /RAIL est un centre intégré au Cégep de Sept-Îles/
> 
> 	
> 
> 
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 


More information about the QGIS-User mailing list