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: Internal error. A MULTILINESTRING has been returned. Please report #55

Closed
ilythiamorley opened this issue May 26, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ilythiamorley
Copy link
Collaborator

Hi JR,

I have been running the measure_roads function on a large road network. After running without issue on over 1000 roads, I got this error:

> corrected_road <- ALSroads::measure_roads(road = road, ctg = ctg, dtm = dtm)
Road 1 of 1  Progress: ...................Error: Internal error. A MULTILINESTRING has been returned. Please report
> 

I have included a reproducible example with my data and code.

Let me know if this is something I can fix easily.

Cheers,
Lithy

Link to data and code:
https://drive.google.com/file/d/1_oK2oBbfIW3WHm4MpuMQFSkbIZOFgT6a/view?usp=sharing

@Jean-Romain Jean-Romain self-assigned this May 26, 2022
@Jean-Romain Jean-Romain added the bug Something isn't working label May 26, 2022
@Jean-Romain
Copy link
Collaborator

Good, I added this error yesterday to cactch limit cases. I'll have a look

@Jean-Romain
Copy link
Collaborator

Fixed. I'm confident this fix won't create more trouble. Yet you may encounter other edge cases with weird road geometries.

Jean-Romain added a commit that referenced this issue May 26, 2022
@Jean-Romain
Copy link
Collaborator

@jfbourdon update, my previous bug fix is generating this new error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants