Meshroom icon indicating copy to clipboard operation
Meshroom copied to clipboard

ImageViewer QGeoTileProviderOsm [bug]

Open natowi opened this issue 5 years ago • 6 comments

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

natowi avatar Dec 07 '19 20:12 natowi

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.

stale[bot] avatar Apr 05 '20 20:04 stale[bot]

Also in the 2020.1.1 release. Maybe there is a collision with my local installation of qt.

natowi avatar Oct 16 '20 11:10 natowi

Still the same with the 2021.0 release

natowi avatar Feb 26 '21 20:02 natowi

still the same thing in Qt 6.5.3

Syc0ms avatar Mar 18 '24 07:03 Syc0ms

Did not encounter the issue any more, might be related to other factors as well?

natowi avatar Mar 20 '24 18:03 natowi

i must write: PluginParameter { name: "osm.mapping.providersrepository.disabled" value: "true" } if i enable it, it returns the same error that you have

Syc0ms avatar Mar 21 '24 07:03 Syc0ms