[Qgis-user] Georeference png files

LE LAMER Romain rlelamer at hotmail.fr
Sun Dec 22 14:23:39 PST 2019


Hi Nick,
Thanks for this method.
I didn't manage to do it in the QGIS python console but I installed gdal on the mac and it does the job perfectly.
I have more than to make a script to convert the whole and I could exploit that on QGIS.

> Le 22 déc. 2019 à 21:06, Nick Hopton <nhopton at gmail.com> a écrit :
> 
> It is possible to assign georeferenced bounds to a raster using
> gdal_translate:
> 
> gdal_translate -a_ullr <ulx> <uly> <lrx> <lry> input.png output.tiff
> 
> Where:
> <ulx> = upper left x
> <uly> = upper left y
> <lrx> = lower right x
> <lry> = lower right  y
> 
> The resulting tiff won't contain CRS data.
> 
> Nick.
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> _______________________________________________
> 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