GIScience / ohsome-quality-api

Data quality estimations for OpenStreetMap
https://api.quality.ohsome.org
GNU Affero General Public License v3.0
35 stars 7 forks source link

building-comparison: requesting coverage creates TypeError #771

Closed hn437 closed 9 months ago

hn437 commented 9 months ago

When selecting the building comparison in the ohsome dashboard, the coverage cannot be shown. When requesting the coverage of the building comparison indicator, a TypeError is raised

hn437 commented 9 months ago

ther function db_client.get_reference_coverage returns a Feature, not a string as is assumed by the code. Therefore, a feature cannot be created from that using geojson.loads