-
Notifications
You must be signed in to change notification settings - Fork 25
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: coordinates must contain numbers #90
Comments
Good Morning did you find a solution to your problem? I faced the same and still looking how to solve it! |
Hi @jamaps I don't believe that this is an issue with the data you are using. I checked my own data numerous times to ensure the validity and still was running into these issues. I suspect that this issue was caused by a change to a turf dependency that no longer handles empty geojson objects. I was able to add a null check in the tile creation process so that the Graph object can be created. Please see #94 for details! I was able to get this work with my data, but we would need @kpwebb to merge some PRs and republish the package so you don't have to build it yourself. |
Hey @jamaps, you yourself answered your question. Yes, it didn't work for me either. The hack was to convert the point to linestring with two same points. Then it works :)
|
Hi there!
Apologies if this is not the correct place to post this!
I'm getting an error when trying to match points in sharedstreets that I can't figure out. And any help would be much appreciated :)
This is what I'm running.
npm-do shst match test_points.geojson --out=matched_points.geojson
But I'm getting the following error:
I thought it was just some weird formatting with my geojson (coordinates as strings), but I've tried a few different point Geojson datasets and they all return the same error. Matching line geometries have worked great, I only get this error with points.
e.g. below is a geojson that I've tested
Thanks!
The text was updated successfully, but these errors were encountered: