Hi Léopold, These are "top-view" images - right? Taken from a drone? Or a special rail coach and a
Maybe you can mosaic the images with some photogrammetry software and create GeoTIFF images? The display performance of many thousand individual images (each on its own) might not perform / scale too well? Greetings, Andreas On Wed, 20 Aug 2025 at 16:20, Léopold Stoessel via QGIS-User < qgis-user@lists.osgeo.org> wrote: > 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.stoes...@cegepsi.ca <leopold.stoes...@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@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > -- -- Andreas Neumann QGIS.ORG board member (treasurer)
_______________________________________________ QGIS-User mailing list QGIS-User@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user