assign CRS during geoTIFF exporting

To post any request/idea for new functionalities
Post Reply
DA523
Posts: 166
Joined: Mon May 25, 2020 4:02 pm

assign CRS during geoTIFF exporting

Post 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
Last edited by DA523 on Sat Jul 29, 2023 7:04 am, edited 1 time in total.
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Assing CRS during geoTIFF exporting

Post 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).
Daniel, CloudCompare admin
DA523
Posts: 166
Joined: Mon May 25, 2020 4:02 pm

Re: Assing CRS during geoTIFF exporting

Post 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
Post Reply