Skip to content

Tessellation throw 'ValueError: need at least one array to concatenate" #540

Answered by martinfleis
virgilxw asked this question in Q&A
Discussion options

You must be logged in to vote

Your data needs some cleaning prior using it in morphometric analysis. See

>>> buildings.area.sort_values().head(10)
1518630    0.00150
363559     0.00650
1744216    0.00750
1815046    0.01250
1532250    0.01300
3449993    0.01805
423824     0.01875
3820240    0.02000
3492165    0.02005
1143626    0.03125
dtype: float64

No real building is this small and these are what is causing the issue. I suggest dropping every polygon smaller than a certain threshold (10, 20 or 30sqm) or figuring out another way how to remove these.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by martinfleis
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #539 on January 25, 2024 14:34.