emotional-cities / openapi-sdi

A Spatial Data Infrastructure based on OGC Open API specifications
MIT License
3 stars 0 forks source link

QGIS Metasearch cannot parse the metadata endpoint #18

Closed doublebyte1 closed 1 year ago

doublebyte1 commented 1 year ago

It is possible to add the service and get the service response, but searching triggers this error (which seems related to the bbox)

AttributeError: 'float' object has no attribute 'minx' 
Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/MetaSearch/dialogs/maindialog.py", line 497, in search
    self.display_results()
  File "/usr/share/qgis/python/plugins/MetaSearch/dialogs/maindialog.py", line 511, in display_results
    for rec in self.catalog.records():
  File "/usr/share/qgis/python/plugins/MetaSearch/search_backend.py", line 234, in records
    rec1['bbox'] = bbox_list_to_dict(bbox2)
  File "/usr/share/qgis/python/plugins/MetaSearch/search_backend.py", line 278, in bbox_list_to_dict
    'minx': bbox.minx,
AttributeError: 'float' object has no attribute 'minx'