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

None of the relations work. Tree structure problem #43

Open
LuanHimmlisch opened this issue Jul 31, 2023 · 2 comments
Open

None of the relations work. Tree structure problem #43

LuanHimmlisch opened this issue Jul 31, 2023 · 2 comments

Comments

@LuanHimmlisch
Copy link

Doing something like /api/geo/children/3996063 returns all states from all countries, instead of the ones from the requested parent

image

@LuanHimmlisch LuanHimmlisch changed the title Children doesn't work None of the relations work. Tree structure problem Aug 1, 2023
@LuanHimmlisch
Copy link
Author

It seems the problem is on the left and right columns. I will try to check if it is maybe something with the null columns. But everything that depends on this tree structure doesn't work
image

@LuanHimmlisch
Copy link
Author

The left and right columns are seeded incorrectly. I've tried to import a dataset from 2019, around the time the majority of your commits where done, and it doesn't work either.

You can see on Mexico case the left and right values are 0 to 2033.
image

And the children are not the ones that should belong on that range
image

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