How to Create .tfw and .prj Files with QGIS
The following documentation will cover the process for creating .tfw and .prj files using QGIS. Some pre-contextual information about these two file types are that files with a .tfw extension contain the scale, rotation, and location of an accompanying .tif image; the .prj file extension denotes that the file contains the projected coordinate system, as well a description of the geographic coordinate system.
To be able to follow this tutorial you will need to have QGIS installed on your device and for the case of this request Notepad++ for viewing the contents of the accompanying .json metadata file, once installed please launch QGIS and proceed with the following:
- Launch QGIS and click and drag into the QGIS window the image file for which the .tfw and .prj files shall be generated for
- Upon successfully adding the file the user should notice that the image is rendered at an unknown location, this matter will be addressed within the following steps
- To be able to obtain the desired files the user will need to navigate to Export => Save As... by right-clicking on the inserted file from the previous step
- Within the resulting Save Raster Layer as... dialog window the user will be able to set the projection indicated by the CRS field
- To determine what the projection should be load the .json metadata file within Notepad++ and scroll to the correct section within the file, for SkyWatch products you can locate the desired information with the GeoCodings section of the file make note of the specified projection for our case it is EPSG:4326 also referenced as WGS 84
- Swapping back to QGIS within the Save Raster Layer as... dialog window set the CRS to EPSG:4326 - WGS 84 and scroll down to the Create Options section
- Enable Creation Options by checking off the checkbox and then click on the plus button to add an option, name the option tfw and assign it a value of yes
- To finish click OK the saved file will be automatically inserted into QGIS as a separate layer
- To extract the .prj file search for the Extract Projection tool and left-click on it to bring up the tool's configuration window, select the layer created from the prior steps and check off the 'Create also .prj file'
- Click Run, this will create the .prj file within the source folder
Related Articles
How to Download to an S3 Bucket
The following article will cover the process for downloading material to an S3 bucket. Some pre-contextual information needed for this process is that upon uploading to S3 the item is stored as an S3 object, you can have an unlimited number of ...
Available Outputs
While our eyes only detect a fraction of all light available, satellite sensors can actually capture – and send back – much more information. This information is relayed back to us in a format quite different from the photographs we are used to. For ...
How to Connect AWS to SharePoint Data Source
The following document will cover the process for connecting to a SharePoint data source within AWS: To start off this processes the user will need to navigate to the AWS Management Console then proceed to Amazon Kendra Expand the side menu and ...
Understanding Mosaicking within EarthCache
The following article will cover what mosaicking is and how it is implemented within SkyWatch's EarthCache platform and how it affects the delivered imagery. When attempting to capture an requested area it is possible for the area of interest to not ...
SAR Terrain Corrected
terrain correction is an orthorectification technique which correct the layover and foreshortening effects inherent in SAR imagery.SAR Terrain Correction makes your SAR data closer to real world geometry and enables overlaying layers from other ...