Post

2 followers Follow
0
Avatar

RGB layer

Hi guys,

I am following one of your tutorials: https://www.youtube.com/watch?v=4Pgthb_NayY

I created a RGB layer from two Sentinel 1 images as in the tutorial. Now I want to export the layer in order to use it in ArcGIS. But when clicking on the layer, the SAVE AS option is disabled (print screen attached).

Could you please tell me where to go from here?

Thank you, 
Andrei

Andrei

Please sign in to leave a comment.

3 comments

0
Avatar

Hi Andrei,

The reason why the Save As function is greyed out is because the channels you are viewing are from different files combined in one RGB map layer. Those different files can have different georeferencing so the Save As function is blocked in such a case.  To save the file you would first need to use the Data Merge Wizard (Focus > Tools > Data Merge…) to combine the files together into a TIF. 

Hope this helps,

Cristina

PCI Geomatics 0 votes
Comment actions Permalink
0
Avatar

Hi Cristina,

Thank you for the fast support.

Using Data Merge Wizard I selected both Sentinel 1 images and selected to combine them into a TIF.

But Focus returned this error: 



Andrei 0 votes
Comment actions Permalink
0
Avatar

Hi Andrei,
There seems to be a limitation to the Data Merge wizard. We will have this looked at for a future release of the software. We ran some tests and in order to export your file into TIF format you will need to use a Python script which calls the DATAMERGE algorithm. Using the algorithm will export your file directly to a TIF. An example of how to call this algorithm is available from the Geomatica Help. You can run the script through the python scripting window in Focus (Focus > Tools > Python Scripting).

DATAMERGE

from pci.datamerge import*

input_file = "C:\Demo\DataMerge.txt" #This text file must include the full path to each image (see Help)
output_file  = "C:\Demo\Merged2.tif"

datamerge (mfile=input_file, filo=output_file)

If you have any questions or concerns, you can also contact support@pcigeomatics.com.

 

PCI Geomatics 0 votes
Comment actions Permalink