Geoscience Reference
In-Depth Information
-f
format_name output file format name (default is ESRI Shapefile), some possible
values are: -f “ESRI Shapefile”; -f “TIGER”; -f “MapInfo File”
-append
Append to existing layer instead of creating new
-overwrite
Delete the output layer and recreate it empty
-update
Open existing output datasource in update mode rather than trying to create a
new one
-select field_list
Comma delimited list of fields from input layer to copy to the new layer. A field
is skipped if mentioned previously in the list even if the input layer has duplicate
field names. (Defaults to all; any field is skipped if a subsequent field with same
name is found.) Starting with OGR 2.0, geometry fields can also be specified in
the list.
-progress
(starting with GDAL 1.7.0) Display progress on terminal. Only works if input
layers have the “fast feature count” capability.
-sql sql_statement
SQL statement to execute. The resulting table/layer will be saved to the output.
-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.
-where restricted_where
Attribute query (like SQL WHERE)
-skipfailures
Continue after a failure, skipping the failed feature.
-spat xmin ymin xmax ymax
spatial query extents. Only features whose geometry intersects the extents will
be selected. The geometries will not be clipped unless -clipsrc is specified
-geomfield field
(from OGR 1.11) Name of the geometry field on which the spatial filter operates
on.
-dsco NAMEVALUE
Dataset creation option (format specific)
-lco NAMEVALUE
Layer creation option (format specific)
-nln name
Assign an alternate name to the new layer
-nlt type
Define the geometry type for the created layer. One of NONE, GEOMETRY,
 
Search WWH ::




Custom Search