[DebianGIS-dev] Bug#421651: ogrinfo man page doesn't mention all the options

Dan Jacobson jidanni at jidanni.org
Mon Apr 30 19:51:46 UTC 2007


Package: gdal-bin
Version: 1.3.2-4
Severity: wishlist
File: /usr/share/man/man1/ogrinfo.1.gz
X-debian-cc: warmerdam at pobox.com

The ogrinfo man page doesn't mention all the options, mainly
--help-general, but don't forget --help itself.
$ man ogrinfo|col -b|grep -i help
$ ogrinfo --help
Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where]
               [-spat xmin ymin xmax ymax] [-fid fid]
               [-sql statement] [-al] [-so] [--formats]
               datasource_name [layer [layer ...]]

Also at
       -ro:
           Open the data source in read-only mode.

mention if one doesn't use this option will one's data get mutilated?
Indeed, this should be turned on by default and not offered as an
option as I don't see anywhere where ogrinfo plans on modifying its
input.  Does less(1) or more(1) or even date(1) need such an option?

Same with /usr/share/doc/libgdal-doc/ogr/ogrinfo.html




More information about the Pkg-grass-devel mailing list