[021] Global Mapper - Point Layer: Join Attribute Table/File to Layer
Today, we will explore a function that is essential for any GIS program: joining a CSV file to a vector layer (points, lines, or areas).
Open your previous file and download the CSV file below.
Attachment: table.zip (This is a safe proprietary data file for Global Mapper.)
The file above is quite simple, containing 'name' and 'value' columns. Since we have six points, I've created six records. Our goal is to compare the Name of the point features with the name field in the CSV file and add the corresponding value as an attribute to each point.
Right-click the point layer and select JOIN - Join Attribute Table/File to Layer.
A window will appear asking you to select the layer to join.
Select "Point" and click OK. The options window will then appear.
Join Options Breakdown:
- File Name: Specify the CSV file you wish to join.
- Join File Delimiter: Select the delimiter used to separate data in your file. (In this case, it's a Comma).
- Join File Attribute: Choose the column from the external file to be used for matching. This will be "name".
- Attributes to Copy: Select the content you want to copy. We will copy the "value" from the CSV.
- Layer Attribute: Select the attribute of the layer to be used for matching. This will be
<Feature Name>. - Duplicate Handling: Set how to handle duplicate data.
- Join File Preview: You can preview the contents of the selected file here.
Configure the settings as shown above and click OK.
A window displaying the join results will appear. It indicates that the join was successful without any duplicates or mismatches. Click OK.
Now, select a point to verify that the information has been transferred correctly.
I checked the information for the point named "1," and the "value" attribute has been added with the value "가" (Ga). It has been transferred perfectly.
That's all for today...
Comments
Post a Comment