Set File Projection

Feature Description

This tool directly sets projection for raster files without exporting new files through projection conversion. Currently supports readable/writable *.tif, *.tiff, and *.img files from local file paths and S3 storage objects.

Parameter Description

Parameter Description Type
Target File Target file path, supporting local file paths and S3 object storage addresses. String
Target Coordinate System Target coordinate system to set. Supports selecting coordinate system, copying existing data coordinate system, or importing coordinate system. For detailed operations, refer to Raster Dataset Properties Panel - Coordinate System. PrjCoordSys
Write Projection to External File Whether to write coordinate system information into an external file. When checked, writes coordinate system information to a .prj file with the same name as the target file. When unchecked, writes coordinate system information directly into the file. Files opened with IMAGEPLUGINS engine prioritize using the coordinate system from external .prj files. Boolean

Output

Parameter Description Type
Connection Info File connection information with projection successfully set. Use this to open the file. String