How to get the list of feature dataset from a FileGDB file using python #1261
Answered
by
sgillies
kavyajeetbora
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
sgillies
May 8, 2023
Replies: 1 comment 1 reply
-
@kavyajeetbora Correction: fiona doesn't support multiple datasets within a geodatabase file. The GDAL library has some support since version 3.4 https://gdal.org/drivers/vector/openfilegdb.html#hiearchical-organization but we haven't implemented it for fiona yet. fiona.listdir is only useful for finding datasets within a filesystem directory. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sgillies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kavyajeetbora
fiona.listdir is what you're looking for. I'll update the documentation to make that more clear.Correction: fiona doesn't support multiple datasets within a geodatabase file. The GDAL library has some support since version 3.4 https://gdal.org/drivers/vector/openfilegdb.html#hiearchical-organization but we haven't implemented it for fiona yet. fiona.listdir is only useful for finding datasets within a filesystem directory.