Geoscience Reference
In-Depth Information
-ro
Open the data source in read-only mode.
-al
List all features of all layers (used instead of having to give layer names as
arguments).
-so
Summary Only: supress listing of features, show only the summary information
like projection, schema, feature count and extents.
-q
Quiet verbose reporting of various information, including coordinate system,
layer schema, extents, and feature count.
-where
restricted_where: An attribute query in a restricted form of the queries used in
the SQL WHERE statement. Only features matching the attribute query will be
reported.
-sql statement
Execute the indicated SQL statement and return the result.
-dialect dialect
SQL dialect. In some cases can be used to use (unoptimized) OGR SQL instead
of the native SQL of an RDBMS by passing OGRSQL. Starting with GDAL
1.10, the “SQLITE” dialect can also be used with any datasource.
-spat xmin ymin xmax ymax
The area of interest. Only features within the rectangle will be reported.
-geomfield field
(fromGDAL 1.11) Name of the geometry field on which the spatial filter operates
on.
-fid
fid: If provided, only the feature with this feature id will be reported. Operates
exclusive of the spatial or attribute queries. Note: if you want to select several
features based on their feature id, you can also use the fact the 'fid' is a special
field recognized by OGR SQL. So, '-where “fid in (1,3,5)”' would select features
1, 3 and 5.
-fields=YESNO
(starting with GDAL 1.6.0) If set to NO, the feature dump will not display field
values. Default value is YES.
-geom=YESNOSUMMARY
(starting with GDAL 1.6.0) If set to NO, the feature dump will not display the
geometry. If set to SUMMARY, only a summary of the geometry will be
displayed. If set to YES, the geometry will be reported in full OGC WKT format.
Default value is YES.
--formats
List the format drivers that are enabled.
Search WWH ::




Custom Search