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

Splitting of sparse features (including points) fails with 500 error #33

Open
spwoodcock opened this issue Jun 7, 2024 · 1 comment
Labels
bug Something isn't working effort:medium Likely a day or two priority:low Backlog of tasks that will be addressed in time

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Jun 7, 2024

Describe the bug

Some very sparse data extracts passed into fmtm-splitter, for example:

image

Fail with an error like:

image

psycopg2.errors.InternalError_: K (49) must be smaller than the number of rows in the group (48)

To Reproduce

Try and split a very sparse data extract in FMTM, for example using the heathcare category.

Expected behavior

  • The buildings should be split by the desired number of buildings per task, although I'm sure that's easier said than done!

Additional context

  • The data extract actually contains 105 features, many of which are point rather than polygon, so perhaps this is also the issue.
@spwoodcock spwoodcock added the bug Something isn't working label Jun 7, 2024
@spwoodcock spwoodcock changed the title Splitting of sparse features fails with 500 error Splitting of sparse features (including points) fails with 500 error Jun 7, 2024
@spwoodcock
Copy link
Member Author

image

@spwoodcock spwoodcock added priority:low Backlog of tasks that will be addressed in time effort:medium Likely a day or two labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working effort:medium Likely a day or two priority:low Backlog of tasks that will be addressed in time
Projects
None yet
Development

No branches or pull requests

1 participant