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

Error: Node size must be at least 2 #363

Open
xyjwyq opened this issue Apr 18, 2024 · 1 comment
Open

Error: Node size must be at least 2 #363

xyjwyq opened this issue Apr 18, 2024 · 1 comment

Comments

@xyjwyq
Copy link

xyjwyq commented Apr 18, 2024

Hello, I use node to serialize geojson data and get the corresponding fgb data. Alternatively, I can use geojson.deserialize parsing on the web side for full loading. However, when used to filter the display, I got this error: Error: Node size must be at least 2. How to solve this problem?
7aedef31-a666-4f15-8968-cf3619f5e8a1
f8161d29-1b24-4978-92ed-7b00371e278b
b6acdd99-1191-42e3-9bc5-c81b9e39f7e4

@bjornharrtell
Copy link
Member

It's because the JS/TS implementation doesn't include spatial index generation (yet). The error message from the deserialization should be improved.

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

2 participants