Add --reject-null-geometry and more GeoJSON geometry validation

This commit is contained in:
Erica Fischer
2023-11-21 10:21:47 -08:00
parent d359461e61
commit 3e0633323f
10 changed files with 66 additions and 1 deletions
+1
View File
@@ -533,6 +533,7 @@ the same layer, enclose them in an `all` expression so they will all be evaluate
* `-pW` or `--reverse-source-polygon-winding`: Instead of respecting GeoJSON polygon ring order, use the opposite of the original polygon winding in the source data to distinguish inner (counterclockwise) and outer (clockwise) polygon rings.
* `--clip-bounding-box=`*minlon*`,`*minlat*`,`*maxlon*`,`*maxlat*: Clip all features to the specified bounding box.
* `-aP` or `--convert-polygons-to-label-points`: Replace polygon geometries with a label point or points for the polygon in each tile it intersects.
* `--reject-null-geometry`: Exit with an error when a feature has a `null` geometry instead of just giving a warning.
### Setting or disabling tile size limits