aliaksei135 / seedpod_ground_risk

Ground Risk model for UAS flight path analysis and risk-aware path finding
MIT License
6 stars 2 forks source link

Handle OSM query failures gracefully #61

Closed aliaksei135 closed 2 years ago

aliaksei135 commented 3 years ago

Currently any failure in fetching OSM data results in an unhandled exception and complete failure to generate the map without any user notification (aside from the debug console). This should be handled gracefully and generate the risk map without the failed data if possible. Either way the user should be notified of the failure in the UI.

Zach10a commented 2 years ago

Partly fixed in the above PR, however this does not allow for the risk map to be produced without the failed data. I will close this and #65 when #66 is merged and if failing data becomes an issue in future will look at implementing that idea.

Zach10a commented 2 years ago

The errors being received are <Response 500> (Internal server errors). Still looking to see if something has changed regarding request queries on their side as that's the only thing I can think of that's happened.

aliaksei135 commented 2 years ago

Okay so I have done a bit more research on this. Here are a few things to try:

aliaksei135 commented 2 years ago

@Zach10a Good stuff that using POSTs fixed the error. I think it's good practice to implement the other 2 suggestions here while we are on it as well!

aliaksei135 commented 2 years ago

Closed by #66