-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
LVBAG driver skips features #11354
Comments
All information for 1 of the ogrinfo examples in my ticket:
|
CC @yorickdewid |
I'll have a look |
@01000011-01000010 I'm not sure the "InOnderzoek" was ever supported. I can't remember if is was part of the original BAG dumps or not. I can confirm that the latest GDAL build does not list any features in theses files. How much testing are you willing to do to figure out the differences between the 'active' and 'in onderzoek' dumps? Edit |
What is the bug?
I use the LVBAG driver for ogrinfo to get the feature count, and for ogr2ogr to import files into PostgreSQL. It seems to skip features, since the feature count results in 0, even through there are features inside (when compared with xmlstarlet).
Driver: https://gdal.org/en/latest/drivers/vector/lvbag.html
The entire dataset can be downloaded here: https://service.pdok.nl/lv/bag/atom/downloads/lvbag-extract-nl.zip
Steps to reproduce the issue
9999InOnderzoek08112024/9999IOLIG08112024/9999IOLIG08112024-000001.xml
9999InOnderzoek08112024/9999IONUM08112024/9999IONUM08112024-000001.xml
9999InOnderzoek08112024/9999IOPND08112024/9999IOPND08112024-000001.xml
9999InOnderzoek08112024/9999IOVBO08112024/9999IOVBO08112024-000001.xml
As you can see, there are features inside but ogrinfo results in Feature Count: 0
I've attached the mentioned XML files to this issue.
Versions and provenance
GDAL 3.8.4, released 2024/02/08
Installed on Ubuntu using
apt install gdal-bin
on Ubuntu 24.04.1 LTSAdditional context
Mentioned XML files in ZIP-file: bugreport.zip
The text was updated successfully, but these errors were encountered: