maplibre / maplibre-native

MapLibre Native - Interactive vector tile maps for iOS, Android and other platforms.
https://maplibre.org
BSD 2-Clause "Simplified" License
977 stars 290 forks source link

Insufficient OpenStreetMap attribution? #2600

Open johan12345 opened 1 month ago

johan12345 commented 1 month ago

A user of my app notified me in https://github.com/ev-map/EVMap/issues/353 that the OSM attribution as maplibre-native implements it (i.e., basically the same as in the mapbox-gl-native-android) seems to be insufficient according to the OSM Foundation's attribution guidelines for interactive maps. Apparently, the attribution text has to be visible directly on the map, without requiring the user actively click on the (i) button.

The actual license terms are a bit more vague on this (§4.3):

[...] You must include a notice associated with the Produced Work reasonably calculated to make any Person that uses, views, accesses, interacts with, or is otherwise exposed to the Produced Work aware that Content was obtained from the Database, Derivative Database, or the Database as part of a Collective Database, and that it is available under this License.

But it seems that OSM's interpretation of this is that clicking an info button is not something that every user of the map can be expected to do.

What is your opinion on this? Do you agree that MapLibre (and Mapbox) violate OSM's license terms here? Should MapLibre rather provide an attribution design that complies with the OSM Foundation's standards instead of every app developer having to implement this themselves?

Some related discussions: https://github.com/osm-fr/attributions/issues/97 https://github.com/commons-app/apps-android-commons/issues/3766 https://community.openstreetmap.org/t/mapbox-does-not-satisfy-attribution-requirements/108134 https://www.reddit.com/r/openstreetmap/comments/z7zfjq/attribution_on_hover/ https://www.reddit.com/r/openstreetmap/comments/el9duy/there_is_an_ongoing_discussion_under_this_tweet/ https://osmfoundation.org/wiki/Licensing_Working_Group/Minutes/2023-06-12#Polar_Electro https://www.openstreetmap.org/user/lxbarth/diary/21769#comment26304

acalcutt commented 1 month ago

On the maplibre-gl-js side of things, This PR of mine was merged to try and comply with the OSM license. https://github.com/maplibre/maplibre-gl-js/pull/795

The idea in that PR was when using a compact button, the default state would be open and visible until the user moves the map. This was to comply with the OpenSteetMap Attribution Guidelines that expect attribution is visible for at least some time without user interaction to fall within the safe harbour rules

Maybe something similar could be done in native.

louwers commented 1 month ago

The Attribution Guidelines @acalcutt mentions are very clear:

The attribution format should not require individuals to interact with the map or produced work to see the attribution.

MapLibre Native is of course data source agnostic, but it is (very) commonly used with OpenStreetMap data. So this is definitely something that we should improve on!