sharedstreets / sharedstreets-js

SharedStreets (Node.js & Javascript)
https://sharedstreets.io
MIT License
77 stars 25 forks source link

Error: Coordinates must contain numbers #92

Open Ramenlover opened 3 years ago

Ramenlover commented 3 years ago

I'm getting this issue when running the tool on point data. I've tried it on various forms of point data, but it doesn't seem to work. It seems to be working on line data, however. Attached an image of the error I've been getting:

MicrosoftTeams-image (2)

ervinanoh commented 3 years ago

Good Morning, did you find a solution to your problem? I faced the same and still looking how to solve it. Thank you!

aalexsmithh commented 3 years ago

Hi @Ramenlover & @ervinanoh

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!