[BUG] Index out of range #6
Labels
bug
Something isn't working
hacktoberfest
hacktoberfest-2021
hacktoberfest-accepted
help wanted
Extra attention is needed
Describe the bug
Got next error
To Reproduce
Just run in on random *.osm.pbf file
Expected behavior
This should not happen
Screenshots
nope
Desktop (please complete the following information):
Additional context
I guess the error is in https://github.com/LdDl/osm2ch/blob/master/cmd/osm2ch/main.go#L117
We need to handle case when .expEdge.Geom has not points in it (actually < 2)
The text was updated successfully, but these errors were encountered: