Open Youssef-Harby opened 6 months ago
Thanks for the suggestion; handling of advanced driver specific properties like domains
/ relationships
could be improved.
Can you point us to a small, publicly accessible FileGDB file that has domains
/ relationships
set, or instructions on how to use ogr2ogr to create them from an existing dataset?
I don't understand what you mean by showing datasets in the context of listing layers; since the dataset is input to the list_layers
function, there is only the one, right? Can you give us more of an example where listing layers would be showing layers from multiple datasets?
publicly accessible FileGDB file that has
domains
/relationships
set
https://github.com/OSGeo/gdal/tree/master/autotest/ogr/data/filegdb/Domains.gdb https://github.com/OSGeo/gdal/tree/master/autotest/ogr/data/filegdb/relationships.gdb
I don't understand what you mean by showing datasets
They meant "feature datasets" which is a Esri FileGeodatabase specifc terminology to designate a sort of group of layers.
Cf https://github.com/OSGeo/gdal/tree/master/autotest/ogr/data/filegdb/featuredataset.gdb
Thanks for the example datasets @rouault !
Hello Pyogrio Team,
I'm using pyogrio for working with ESRI FileGDB files and found a couple of features that could be improved:
Datasets in List Layers: The
list_layers
function only shows layers, not the datasets holding them. Inogrinfo
, you can see both layers and their datasets. It would be helpful ifpyogrio
could also show this information to better understand how data is organized.Access to Domains and Relationships: I also noticed that pyogrio.read_info doesn’t show domains and relationships. These are important for knowing how data is connected and its rules. ogrinfo can show this with a command like this:
Here’s a short version of what
ogrinfo
outputs inoutput.json
: