Meshroom
Meshroom copied to clipboard
ImageViewer QGeoTileProviderOsm [bug]
Describe the bug Meshroom crashes and terminates with
QGeoTileProviderOsm: Tileserver disabled at QUrl("http://maps-redirect.qt.io/osm/5.8/satellite")
when loading image Information in the Image Viewer (with GPS in EXIF).
This is interesting, as the preview map uses the default osm map and not satellite imagery.
The qt plugin requests this as default but the imagery tile server is not available.
This is the response from http://maps-redirect.qt.io/osm/5.8/satellite
{
"Enabled" : false,
"UrlTemplate" : "http://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/%z/%y/%x",
"ImageFormat" : "jpg",
"QImageFormat" : "RGB888",
"ID" : "usgs-l7",
"MaximumZoomLevel" : 8,
"MapCopyRight" : "<a href='http://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer'>USGS The National Map: Orthoimagery</a>",
"DataCopyRight" : "<a href='http://landsat.gsfc.nasa.gov/?page_id=2339'>USGS/NASA Landsat</a>"
}
(-->The service is disabled or down)
To Reproduce Steps to reproduce the behaviour:
Test with Monstree dataset
Desktop :
- OS: win 10
- Meshroom version: 2019.2
Solution:
We need to add some code to handle exceptions to avoid crashes when there are problems with the map data.
https://github.com/alicevision/meshroom/blob/develop/meshroom/ui/qml/Viewer/ImageMetadataView.qml
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Also in the 2020.1.1 release. Maybe there is a collision with my local installation of qt.
Still the same with the 2021.0 release
still the same thing in Qt 6.5.3
Did not encounter the issue any more, might be related to other factors as well?
i must write:
PluginParameter { name: "osm.mapping.providersrepository.disabled" value: "true" }
if i enable it, it returns the same error that you have