-
Notifications
You must be signed in to change notification settings - Fork 27
Error: coordinates must contain numbers #90
Copy link
Copy link
Open
Description
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:
🌏 Loading geojson data...
Matching using car routing rules on all streets
✨ Matching 3 points...
Error: coordinates must contain numbers
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
{"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {"bearing":90},
"geometry": {
"type": "Point",
"coordinates": [
-79.494582662656398, 43.689484593933997
]
}
},
{
"type": "Feature",
"properties": {"bearing":90},
"geometry": {
"type": "Point",
"coordinates": [
-79.281026293856101, 43.675363068044803
]
}
},
{
"type": "Feature",
"properties": {"bearing":90},
"geometry": {
"type": "Point",
"coordinates": [
-79.4073484623935, 43.666125615195597
]
}
}
]
}
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels