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

Zensus cells without population but with households #202

Closed
ClaraBuettner opened this issue Apr 8, 2021 · 4 comments · Fixed by #216
Closed

Zensus cells without population but with households #202

ClaraBuettner opened this issue Apr 8, 2021 · 4 comments · Fixed by #216
Assignees
Labels
🐛 bug Something isn't working

Comments

@ClaraBuettner
Copy link
Contributor

There are three zensus cells that don't have a population, but have households. (zensus_population_ids 167668, 476491, 751371).
This currently leads to errors in household_prognosis but might also affect other tasks later on.

@ClaraBuettner ClaraBuettner added the 🐛 bug Something isn't working label Apr 8, 2021
@IlkaCu
Copy link
Member

IlkaCu commented Apr 9, 2021

Is this the case for the German data sets or the one of Schleswig-Holstein?
It might be a reasonable and easy solution to delete those cells from the data set, what do you think?

@ClaraBuettner
Copy link
Contributor Author

This also happens for buildings and apartments. I would suggest to delete all rows in the zensus-misc tables which have a population < 0. I implemented this and already started to test it, but since the task import-zensus-misc needs about 3 hours, it needs some time to see the results.

@nesnoj
Copy link
Member

nesnoj commented Apr 9, 2021

Do those contradicting cell data appear in the raw dataset too or is it a flaw in the import?
If there're only 3 cells in DE I consent to drop them..

@ClaraBuettner
Copy link
Contributor Author

Do those contradicting cell data appear in the raw dataset too or is it a flaw in the import?

Those cells also appear in the raw files.

If there're only 3 cells in DE I consent to drop them..

In case of households, there are only these three cells. But there are much more cells without a population, but with buildings. (Only in Schleswig-Holstein ~1000). Regarding qGis and openstreetmap, these are in many cases holiday homes.
But there are also other cases, where it e.g. looks on openstreetmap like a single farm but is listed in Zensus as 3 houses without a population.
I don't know much about the Zensus data and how it was exactly created. @IlkaCu , can you help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants