-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolve feature dataset name while open filegdb. #9781
Comments
@sendreams This might be a bit tricky to handle on OGR side. We'll probably have to prefix the layer name with the feature dataset name to build uniqueness. Anyway to do that, it would be great if you could attach such a geodatabase (zipped) to that ticket. If not possible, just pasting the output of |
@rouault thanks |
Actually, you can get it with ogrinfo. Feature datasets are modeled as groups:
API whise, this is with GDALDataset::GetRootGroup(), GDALGroup::GetGroupNames(), GDALGroup::OpenGroup(), GDALGroup::GetVectorLayerNames(). Cf Line 2075 in e99530d
|
Feature description
Currently, GDAL cannot retrieve the name of a feature dataset. If a geodatabase contains multiple datasets and there are feature classes with the same name, it can lead to issues.
Additional context
No response
The text was updated successfully, but these errors were encountered: