Page 1 of 1

assign CRS during geoTIFF exporting

Posted: Fri Jul 21, 2023 9:55 am
by DA523
When I export geoTIFF image from
Tools -- > Projection -->Rasterize

there is no CRS i.e.(EPSG:32634) assigned to it
I have to take it to QGIS and assign proper CRS
Can CC add CRS field in exporting window

Re: Assing CRS during geoTIFF exporting

Posted: Tue Jul 25, 2023 6:23 am
by daniel
You mean manually?

I guess that would be possible, it's just that CC doesn't manage at all CRSes, so it would be a first (and we need to discover how this works with GDAL).

Re: Assing CRS during geoTIFF exporting

Posted: Tue Jul 25, 2023 6:25 pm
by DA523
This command worked for me outside of CC to set (CRS) SRC EPSG:32632 to exported CC raster tiff

python3.exe C:\2\2\utils\gdal_edit.py c:\2\x.tif -a_srs EPSG:32632




gdal_edit.py uses osgeo
as you can see here

import sys
from osgeo import gdal
from osgeo import osr

https://gdal.org/programs/gdal_edit.html