You have to specify the layer (feature class) name in the path string.
layer_name = "countries"
layer = QgsVectorLayer("path.gdb|layername=" + layer_name, "Countries", "ogr")
Domains will be supported in GDAL 3.3 and they are already available in the current development version (the "main" branch). See https://gdal.org/drivers/vector/openfilegdb.html#vector-openfilegdb
(GDAL >= 3.3) Coded and range field domains are supported.
The domain support has been added into FileGDB and OpenFileGDB drivers and ...
There are couple of issues in the original command.
The ogr2ogr utility converts vector data from source format into target format. It is possible to use ogr2ogr but then both datasource and target must be defined. However, ogrinfo might be better tool for making the metadata query.
The syntax of the two "SQL requests" which are special for the ...
You cannot append new data into existing by just copy/paste or conversions. It will try to replace you existing table. If you have updated your table previously and you want to replace you existing table, all you have to do is to insert this line after importing arcpy.
arcpy.env.overwriteOutput = True
However you should take a look to append tool. Pay ...
The FeatureWriter is a good transformer for this type of work.
Here is an example:
There is a shapefile of pois's and atms are cashpoints - so in this case used a tester to pull atms and renamed them.
These are then written back to the original geodatabase but this time it has been set to update on just the 108 records changed by the id.
You can control if ...
There are a few ways you can achieve this.
Probably, what I would do is to add another reader to your workspace to read the file geodatabase data. Then, connect both inputs to GeometryExtractors. This will create an attribute which embeds the geometry. You can then use a FeatureMerger to merge the attributes of the shapefile to the file geodatabase feature ...