Exporting raster - georeferencing ?

Feel free to ask any question here
Post Reply
betadk@gmail.com
Posts: 1
Joined: Fri Feb 28, 2020 8:46 am

Exporting raster - georeferencing ?

Post by betadk@gmail.com »

When exporting a raster or image, it seems that the global shift / scale is not restored and the raster is therefore not geo-referenced correctly (point cloud was in UTM). Is one supposed to transform to originals outside of CloudCompare ?
Thanks.
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Exporting raster - georeferencing ?

Post by daniel »

Global shift should be restored when exporting the raster to geotiff (via the 'Rasterize' tool). But indeed, not when exporting to an image.
Daniel, CloudCompare admin
libak
Posts: 3
Joined: Mon Jul 15, 2024 9:35 am

Re: Exporting raster - georeferencing ?

Post by libak »

Hi Daniel

How do I export a rasta to geotiff while maintaining global shift (scale)?

When I import the geotiff into ACAD, the geotiff is 1mm in length which is not correct - the bounding box in CC is ~39000

Rgds
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Exporting raster - georeferencing ?

Post by daniel »

Which version are you using?

And can you explain how you generated the geotiff exactly? From which cloud?

Ideally, if you could share the original cloud and the parameters you used that would help a lot.
Daniel, CloudCompare admin
libak
Posts: 3
Joined: Mon Jul 15, 2024 9:35 am

Re: Exporting raster - georeferencing ?

Post by libak »

Hi Daniel

I’m using 2.13.1

This is how I generated the geotiff
> select point cloud
> Hit rasterize button
> set parameters
> update grid
> Rasterize viewport shows my point cloud, ok.
> Export > Raster
> Export RGB colors > OK
> Save as type: geotiff (*.tif)
> Save
> In AutoCAD I enter IMAGEATTACH, and set scale to 1
Now the length of the image in ACAD is 1mm

I can’t share the point cloud, but the size of it is not 1mm :-)

Thanks
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Exporting raster - georeferencing ?

Post by daniel »

Ah, you duplicated the message... Not sure which thread to follow now...
Daniel, CloudCompare admin
Post Reply