GEOMETRYCOLLECTION, MULTIPOINT, MULTIPOLYGON, Layer creation option (format specific) -nln Īssign an alternate name to the new layer -nlt ĭefine the geometry type for the created layer. dsco NAME=VALUE ĭataset creation option (format specific) -lco NAME=VALUE Name of the geometry field on which the spatial filter operates on. The geometries will not be clipped unless Only features whose geometry intersects theĮxtents will be selected. Spatial query extents, in the SRS of the source layer(s) (or the one skipfailures Ĭontinue after a failure, skipping the failed feature. Starting with GDAL 2.1, the can be used to indicate that the content is in the pointed filename. where restricted_where Īttribute query (like SQL WHERE). The SQL SQLite dialect dialect can be select with the SQLITEĪnd INDIRECT_SQLITE dialect values, and this can be used with any datasource. Of the native SQL of an RDBMS by passing the OGRSQL dialect value. In some cases can be used to use (unoptimized) OGR SQL dialect instead Indicate that the content is in the pointed filename. Starting with GDAL 2.1, the syntax can be used to The resulting table/layer will be saved to the Only works if input layers have the "fast Selection of fields when appending to a layer, use -fieldmap or -sql. Note this setting cannot be used together with -append. If a subsequent field with same name is found.) Geometry fields can also be Aįield is skipped if mentioned previously in the list even if the input Open existing output datasource in update mode rather than trying to createĬomma-delimited list of fields from input layer to copy to the new layer. The source feature), when there is a UNIQUE column that is not theĭelete the output layer and recreate it empty -update Or non-significant ( -unsetFid can be used to ignore the FID from The FID in the source and target layers are consistent.įor the GPKG driver, it is also possible to upsert features whose FID is unset The upsert operation uses the FID of the input feature, when it is setĪnd is a "significant" (that is the FID column name is not the empty string),Īs the key to update existing features. This is currently implemented only in a few drivers: Operation is used to insert or update features instead of appending with Variant of -append where the OGRLayer::UpsertFeature() append Īppend to existing layer instead of creating new. Guessed from the extension (previously was ESRI Shapefile). Starting with GDAL 2.3, if not specified, the format is Output coordinate system or even reprojecting the features during translation. Spatial or attribute selection, reducing the set of attributes, setting the It can also perform various operations during the process, such as Ogr2ogr can be used to convert simple features data between fileįormats. ] | WKT | datasource | spat_extent ] | WKT | datasource ] | ] * )] * ] ] * ] ] * | | ] * Description ] dst_datasource_name src_datasource_name ] # Advanced options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |