Extract Image GPS Tags
- Author: J.Spitzmüller © 2025
- Menu: File | Grid | Import
Description
This tool extracts EXIF GPS tags from image files and creates corresponding point features using the Exiv2 library. One can either select individual files or let the tool recursively search entire directories for supported image formats. The output features can be assigned a target coordinate system, and the tool will reproject the GPS coordinates accordingly. The default projection is Web Mercator.The original GPS values are also preserved for reference.
The following GPS information is currently extracted:
- Latitude
- Longitude
- Altitude
- Direction
- Compass method (Magnetic or True North)
- Dilution of Precision (DOP)
This tool can also add the point features to a new or the currently active map and display the corresponding images next to each point. To modify the display settings, go to Settings > Display > Image Field.
References
Parameters
| Name | Type | Identifier | Description | Constraints |
Output | Shape | shapes, output | SHAPES | Shape | - |
Options | Coordinate System Definition | text | CRS_STRING | Supported formats comprise PROJ and WKT strings, object codes (e.g. "EPSG:4326"). | - |
Select From | choice | SOURCE | - | Available Choices:
[0] Files
[1] Directory
Default: 0 |
Set Image Files | file path | FILES | - | - |
Set Image Directory | file path | DIRECTORY | - | - |
Recursive | boolean | RECURSIVE | - | Default: 0 |
Add to Map | choice
[GUI] | ADD | - | Available Choices:
[0] Don't Add
[1] Add to New Map
[2] Add to Active Map
Default: 1 |
Command Line
Usage: saga_cmd io_grid_image 5 [-SHAPES ] [-CRS_STRING ] [-SOURCE ] [-FILES ] [-DIRECTORY ] [-RECURSIVE ]
-SHAPES: Shape
shapes, output
-CRS_STRING: Coordinate System Definition
text
-SOURCE: Select From
choice
Available Choices:
[0] Files
[1] Directory
Default: 0
-FILES: Set Image Files
file path
-DIRECTORY: Set Image Directory
file path
-RECURSIVE: Recursive
boolean
Default: 0