File tree Expand file tree Collapse file tree 1 file changed +30
-6
lines changed
Expand file tree Collapse file tree 1 file changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,10 @@ Program-Specific Options
5050 Specify the name of the geometry field to test, for layers having multiple geometry fields. By default the first
5151 geometry field will be used.
5252
53- .. option :: --include-field
54-
55- .. versionadded :: 3.12.1
56-
57- Optional field(s) to copy from the input features to the output.
58-
5953.. option :: --include-valid
6054
6155 Include features for valid geometries in the output, maintaining 1:1 correspondence between input and output features.
56+ The geometry of valid features will be an empty geometry.
6257
6358.. option :: --input-layer
6459
@@ -104,3 +99,32 @@ Standard Options
10499 .. include :: gdal_options/update.rst
105100
106101 .. include :: gdal_options/upsert.rst
102+
103+ Examples
104+ --------
105+
106+ .. example ::
107+ :title: Output coverage errors in a :ref: `TopoJSON <vector.topojson >` file to a :ref: `GeoJSON <vector.geojson >` file
108+
109+ .. code-block :: bash
110+
111+ $ gdal vector check-coverage " https://cdn.jsdelivr.net/npm/us-atlas@3/counties-albers-10m.json" --layer counties counties-errors.geojson
112+
113+ .. example ::
114+ :title: Output invalid coverage features to the command-line as part of a pipeline
115+
116+ .. tabs ::
117+
118+ .. code-tab :: bash
119+
120+ gdal vector pipeline \
121+ ! read "https://cdn.jsdelivr.net/npm/us-atlas@3/counties-albers-10m.json" --layer counties \
122+ ! check-coverage \
123+ ! info --features
124+
125+ .. code-tab :: powershell
126+
127+ gdal vector pipeline `
128+ ! read "https://cdn.jsdelivr.net/npm/us-atlas@3/counties-albers-10m.json" --layer counties `
129+ ! check-coverage `
130+ ! info --features
You can’t perform that action at this time.
0 commit comments