ogrmerge.py
Verified for current stable LTS
Ogrmerge.py Command: Concatenate Datasets With Source Name Attribute
Use for concatenate datasets with source name attribute with Ogrmerge.py. Exact CLI syntax to concatenate datasets with source name attribute using Ogrmerge.py.
When to use this: Use for concatenate datasets with source name attribute with Ogrmerge.py.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
ogrmerge.py -single -f <GeoJSON> -o <path/to/output.geojson> -src_layer_field_name country <source_name> <path/to/input1.shp path/to/input2.shp ...> ogrmerge.py -single -f <GeoJSON> -o <path/to/output.geojson> -src_layer_field_name country <source_name> <path/to/input1.shp path/to/input2.shp ...> Live Command Builder
Final Command
ogrmerge.py -single -f <GeoJSON> -o <path/to/output.geojson> -src_layer_field_name country <source_name> <path/to/input1.shp path/to/input2.shp ...> Command Breakdown
-single- Command Option
- Tool-specific option used by this command invocation.
-f- Command Option
- Tool-specific option used by this command invocation.
-o- Command Option
- Tool-specific option used by this command invocation.
-src_layer_field_name- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to concatenate datasets with source name attribute using Ogrmerge.py.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Ogrmerge.py Command: Create Geopackage Layer For Each Shapefile
ogrmerge.py -f <GPKG> -o <path/to/output.gpkg> <path/to/input1.shp path/to/input2.shp ...> Ogrmerge.py Command: Create Vrt Layer For Each Geojson ogrmerge.py -f <VRT> -o <path/to/output.vrt> <path/to/input1.geojson path/to/input2.geojson ...> Daps Command: Convert Docbook To Html Single File daps -d <path/to/file.xml> html --single Daps Command: Convert Docbook To Html Single daps -d <path/to/file.xml> html --single Git Clone Command: Clone Specific Branch git clone -b <name> --single-branch <remote_repository_location>