-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
Description
Feature description
$ ogrinfo -q test.vrt; echo $?
Warning 1: libXML: 0: Element 'SrcLayer': This element is not expected.
1: geometry (Measured Unknown (any))
ERROR 1: Failed to find layer 'heshun.addresses' on datasource 'heshun.addresses.geojson'.
2: heshun.addresses (None)
0
I wouldn't return 0 so easily in this case.
But either way, it still should be documented on the ogrinfo man page, like it is for cat(1),
$ info cat
An exit status of zero indicates success, and a nonzero value indicates failure.
GDAL 3.10.3, released 2025/04/01. Old. Sorry.
Reactions are currently unavailable