ObjectVision / GeoDMS

Source code for the GeoDMS software
https://www.geodms.nl/
Other
8 stars 1 forks source link

configuring to a WMTS server does result in an unclear error #431

Closed mtbeek32 closed 1 year ago

mtbeek32 commented 1 year ago

a warning with ... is not informative, see following screendump:

image

Steps to reproduce:

1) first request item: Wroclaw/prepare_basedata/make_fss in table view. 2) Reopen configuration 3) Edit Config Source on item: Geometries/WebMercator, set DialogData = "tms_layer_osm_webmercator_gisco" and save configuration. 4) Request item: Wroclaw/road/geometry_WM in MapView. Warning with ... occurs.

mtbeek32 commented 1 year ago

Image

Issue with .. is now solved :)

Remaining specific issues:

related issue: #477

eoudejans commented 1 year ago

When adding the DataItem as layer to a mapview, Boost::Asio is unable to resolve the host (https to ip). There is a try-catch block error handling mechanism around the addLayer function for the Mapview. This is, possibly amongst other reasons, in place because no uncaught exception may enter Qts eventloop. This does mean that because Boost::Asio throws an exception, the error is handled at point of the addLayer to Mapview, which has no context of the Boost::Asio resolver error origin.

This is now changed and I added additional error handling specifically to the Boost::Asio resolver stage, which now signifies an error to the end user as follows, with the correct message category: image

jipclaassens commented 1 year ago

If a task is moved to done, please close it. Or it isn't done?