Skip to content
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

VFK: Table BUD needs Multipolygon type instead of Polygon for storing building's geometry #11696

Open
seidlmic opened this issue Jan 20, 2025 · 0 comments

Comments

@seidlmic
Copy link
Contributor

What is the bug?

Current code in VFK driver defines geometry column of BUD table as Polygon. But this is not always true as some of features are of shape of Multipolygons (several seperate building on one or more parcels). In these cases NULL or invalid geometry is created and saved in BUD table.

Example:
k.u. Dolní Aršpach, č.p. 121
Image

Steps to reproduce the issue

import SGI and SPI (protected access needed) data from "Dolní Adršpach" and look for building with "CISLO_DOMOVNI = 121" you will find NULL geometry.
https://services.cuzk.cz/vfk/stavy/20250101/600059.zip

/usr/local/gdal/devel_0/bin/ogrinfo --config OGR_VFK_DB_NAME fix_bud_multipolygon/600059.db -where "CISLO_DOMOVNI = 121" fix_bud_multipolygon/600059.db BUD

Versions and provenance

3.10

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant