Apps-android-commons: use of OpenStreetMap data without attribution (attributed to Mapbox in master version)

Created on 21 May 2020  路  32Comments  路  Source: commons-app/apps-android-commons

Summary:

OpenStreetMap data requires attribution to be used and this attribution is missing, at least on my phone.

Steps to reproduce:

Start app, switch to "nearby" tab with map without attribution.

Attribution hidden in settings also would be insufficient, but not even that is done.

Data is clearly from OpenStreetMap (with contour lines added) as confirmed by looking at data unique to OSM and not appearing elsewhere.

See https://www.openstreetmap.org/copyright

System logs:

Not attempted, will add if missing attribution is something device-specific.

Device and Android version:

Mi A2 Lite, running stock Android Zero, in Android 9 version.

Commons app version:

2.12.3~dc08a5e88

Screen-shots:

Will add if problem will turn out to be device-specific.

Would you like to work on the issue?

I am not planning to do this, I have already more OpenStreetMap related plans that I am able to do and this is something that users of data are legally obligated to do.

More info

You are using OpenStreetMap data for displaying maps. Great and thanks for using this map data!

It is nice to see that you use what I (and thousands of other mappers) collected. But you are doing it without a required attribution, that according to the licence must be clearly visible to all users.

This is quite embarrassing, given that Wikimedia Commons community is generally excellent at respecting copyright and copyright like restrictions.

bug

Most helpful comment

Interesting, it does say that "You may not otherwise alter the Mapbox wordmark or text attribution notice", so it seems to me that if we made this change we would be breaching Mapbox's terms.

Yes. But they also say this:

By default, the Mapbox wordmark and information button are located on the bottom left of the map. You may move these elements to a different position, but they must stay on the map view. For display options, see the API documentation for the UiSettings class. You may also reposition these elements within the activity鈥檚 XML layout.

Mapbox includes this built-in information button for your convenience. If you decide not to use it, you must include attribution on the map in a text format. The attribution must include 漏 Mapbox as a link to https://www.mapbox.com/about/maps/, "漏 OpenStreetMap" as a link to http://www.openstreetmap.org/copyright, and "Improve this map" as a link to https://www.mapbox.com/map-feedback/. If you choose to use one of our Satellite styles, you must also include 漏 DigitalGlobe as a link to https://www.digitalglobe.com/. Note that in the future, Mapbox may update the information on the attribution panel and require additional attribution to our suppliers.

Additionally, you must provide a telemetry opt-out option elsewhere in your application if you choose not to use the built-in information button.

Observe how the second paragraph provides us with an option to include on the map in a text format which is exactly in the format that OSM requires (in addition to some Mapbox requirements).

I guess the problem is they don't say _how_ that could be done 馃

All 32 comments

Yes, unfortunately, the current production version of the app doesn't have attribution. It seems that the attribution got removed sometime before the last release.

It was present in the previous versions of the app. A lot of changes were done recently on the maps page because of which it might have got missed. See #2911 for reference.

Our latest master has the attribution present and I believe it would be released soon to production. cc @misaochan

Screenshots from latest master:

Screen Shot 2020-05-21 at 11 52 56 AM
Screen Shot 2020-05-21 at 11 53 22 AM

It is great that it is better in master version.

But note that you are using OpenStreetMap data, hosted and styled by Mapbox.

Mapbox may have their own additional requirements.

But https://www.openstreetmap.org/copyright requires notice associated with the map reasonably calculated to make any Person that views the map aware that content was obtained from the OpenStreetMap database.

It is requirement that cannot be modified or changed by Mapbox, and showing "Mapbox" is not fulfilling it. It must be attributed to OpenStreetMap (though Mapbox may be additionally credited for map styling and hosting).

Note section 4.3 of the Open Database License used by OpenStreetMap:

"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."

I know that what you show in this images it is apparently standard attribution proposed by Mapbox. But I hope that at least in this case proper attribution will be used (yes, I know that Moovit, Mapbox, FB, Snapchat are also hiding attribution and using OSM data anyway and describing maps in way suggesting that they collected data on their own).

Using OpenStreetMap data and using "Mapbox" as an attribution is like taking Wikimedia Commons image (on license requiring attribution) and using "author: internet" or "author: me, I found it with google" as an attribution.

Or to match it more exactly - hosting it on AWS and using "author: Amazon" as an attribution.

Thanks for the detailed explanation @matkoniecz. We will fix it as soon as possible.

Currently when the (i) icon is clicked on the map, a dialog box appears as shown above. It shows (c) OpenStreetMap. Is it not the right way of attributing OpenStreetMap? Should the attribution be in the text on the map itself? As shown in this screenshot from the https://www.openstreetmap.org/copyright page.

Screen Shot 2020-05-21 at 7 08 25 PM

Tagging @neslihanturan as she is our designer. She might have ideas on how we could display proper attribution.

(i) icon is clicked on the map, a dialog box appears as shown above. It shows (c) OpenStreetMap. Is it not the right way of attributing OpenStreetMap?

The problem is that

  • it requires clicking on (i) icon while license requires attribution to be "reasonably calculated to make any Person that views the map aware"

    • and it is quite obvious that normal user will not click on every icon and therefore will never see it

  • there is a big Mapbox logo and popup lists (c) Mapbox first

    • So normal user will see solely Mapbox attribution and even popup window is not clarifying situation

    • it is done in way suggesting that data is from Mapbox. As hosting is not copyright protected sole copyrightable work by Mapbox is map styling. All map data is (c) OpenStreetMap.

"(c) OpenStreetMap" is attribution fulfilling license. "(c) OpenStreetMap contributors" is suggested, but not required by license. For 100% compliance either linking to full license or mentioning ODBL would be nice.

But the major and fundamental problem is that OpenStreetMap attribution is effectively hidden, while clear Mapbox attribution is shown.

Note that you may be required to show Mapbox logo by their terms of service, so you may need to show both

  • "(c) OpenStreetMap (ODBL)", "(c) OpenStreetMap", "(c) OpenStreetMap contributors" or other clearly visible attribution fulfilling license. This part must not be affected by Mapbox terms (though their design decision may make more complicated to apply proper attribution)
  • Mapbox logo (one of perks of more expensive plan is that Mapbox is not requiring you to show Mapbox logo - note that Mapbox is unable to waive OpenStreetMap license)

disclaimer: I am not a lawyer, I am biased toward OpenStreetMap attribution as an OpenStreetMap mapper.

But I am pretty sure that "Mapbox" with hidden "(c) Mapbox (c) OpenStreetMap" is not making clear that all data is from OpenStreetMap.

And "reasonably calculated to make any Person that views the map aware (...)" is nor fulfilled by attribution hidden behind icon that normal user will never click.

BTW, thanks for very quick reaction made by actual humans - unlike to some major corporations using OSM data without any attribution (or extremely poor one, designed to mislead user).

And I am blaming any confusion 100% on Mapbox that misleads its customers and makes unusually hard to properly attribute OpenStreetMap. With its website and documentation hiding knowledge that basically no data used in its products is Mapbox-owned and that clearly visible attribution to OpenStreetMap is required.

I added this app to page listing entities using OpenStreetMap data without attribution - in https://wiki.openstreetmap.org/w/index.php?title=Lacking_proper_attribution&type=revision&diff=1997453&oldid=1997351

Thanks for the detailed explanation. I will bump up this issue internally.

But the major and fundamental problem is that OpenStreetMap attribution is effectively hidden, while clear Mapbox attribution is shown.

Would you be able to point us to any app/website that correctly shows the Mapbox and OpenStreetMap attributions? I am requesting this from you with the assumption that you might have come across quite a few open source app that are using these maps.

Tagging few of our collaborators here:
@misaochan @nicolas-raoul @neslihanturan @sivaraam

Would you be able to point us to any app/website that correctly shows the Mapbox and OpenStreetMap attributions?

I think the info in the following page is a good start: https://wiki.openstreetmap.org/wiki/They_are_using_OpenStreetMap

I'll let you know if I find something better.

I think the info in the following page is a good start: https://wiki.openstreetmap.org/wiki/They_are_using_OpenStreetMap

Mentioning the source for the sake of completeness:

See also They are using OpenStreetMap for rather correct attribution examples.

Source

https://wiki.openstreetmap.org/wiki/They_are_using_OpenStreetMap

Thanks @sivaraam. It would be great if someone could check a few apps from this list and share a screenshot here of the map page from apps with proper attribution. It would be easier for anyone to pick up the fix that way.

Would you be able to point us to any app/website that correctly shows the Mapbox and OpenStreetMap attributions? I am requesting this from you with the assumption that you might have come across quite a few open source app that are using these maps.

Sadly none of apps that I use is in Mapbox ecosystem, and all Mapbox clients that I know (FB, Snapchat and others) refuse to attribute OSM.


But from quick check https://foursquare.com/explore?mode=url&near=Gda%C5%84sk%2C%20Poland&nearGeoId=72057594041027370 website has OK attribution text, though "OpenStreetMap" should link to https://www.openstreetmap.org/copyright


https://nuclearsecrecy.com/nukemap/ (though I admit that phone styling suffers from too small text everywhere - but as it is not applied to just attribution I am OK with that, also for some reason wrong license is given).

Part applicable here with a fixed license would be "Map data 漏 OpenStreetMap contributors (ODBL), Imagery 漏 Mapbox"

If the format at https://foursquare.com/explore?mode=url&near=Gda%C5%84sk%2C%20Poland&nearGeoId=72057594041027370 is acceptable, that would be my preference. On mobile screens there is very little space.

I will add this to our 2.13.1 hotfix list.

"漏 Mapbox 漏 OpenStreetMap" in always[0] visible text, with Mapbox linking to whatever Mapbox requires and OpenStreetMap linking to https://www.openstreetmap.org/copyright should be OK.

Or "漏 Mapbox 漏 OpenStreetMap (ODBL)" for version without links.

Disclaimer: I am not a lawyer, it is what I think that license requires and would be enough to keep me happy.

[0]always visible= "always visible if map is shown of size big enough that such label would fit on the map without covering very significant part of the map"

Dislaimer 2: I have not checked what Mapbox requires from you.

I looked into the code and read the docs, seems like as of now MapBox SDK does not support custom Attribution View

Interesting, it does say that "You may not otherwise alter the Mapbox wordmark or text attribution notice", so it seems to me that if we made this change we would be breaching Mapbox's terms.

@matkoniecz Any chance you can take this up with Mapbox themselves?

Interesting, it does say that "You may not otherwise alter the Mapbox wordmark or text attribution notice", so it seems to me that if we made this change we would be breaching Mapbox's terms.

Yes. But they also say this:

By default, the Mapbox wordmark and information button are located on the bottom left of the map. You may move these elements to a different position, but they must stay on the map view. For display options, see the API documentation for the UiSettings class. You may also reposition these elements within the activity鈥檚 XML layout.

Mapbox includes this built-in information button for your convenience. If you decide not to use it, you must include attribution on the map in a text format. The attribution must include 漏 Mapbox as a link to https://www.mapbox.com/about/maps/, "漏 OpenStreetMap" as a link to http://www.openstreetmap.org/copyright, and "Improve this map" as a link to https://www.mapbox.com/map-feedback/. If you choose to use one of our Satellite styles, you must also include 漏 DigitalGlobe as a link to https://www.digitalglobe.com/. Note that in the future, Mapbox may update the information on the attribution panel and require additional attribution to our suppliers.

Additionally, you must provide a telemetry opt-out option elsewhere in your application if you choose not to use the built-in information button.

Observe how the second paragraph provides us with an option to include on the map in a text format which is exactly in the format that OSM requires (in addition to some Mapbox requirements).

I guess the problem is they don't say _how_ that could be done 馃

@matkoniecz Any chance you can take this up with Mapbox themselves?

I can try, but Mapbox is remarkably slow where it comes to topic of attributing OpenStreetMap.

@matkoniecz I've looked into their code, although they have mentioned that the text could be changed, there seems to be no public method to update the same. Should we try creating an issue in their repository(if not already) to maybe expose methods to do so?

Hi @matkoniecz , any luck with Mapbox? I feel like it will be much more beneficial to your cause for Mapbox to support this in their SDK. Otherwise all the apps that are using the Mapbox Android SDK will be stuck looking for lengthy, potentially hack-ish workarounds since they have not exposed methods to modify the attribution.

I got no response from Mapbox (their response time on topic of attribution is in months, in some cases more than year) but I got some info on Telegram channel (OpenStreetMap dev):

By default attribution with the information button is included in the sdk. You can adjust it with XML or go into the UiSettings object

I have not tested it so far.

I have opened an issue in the Mapbox's repo raising the concern, hopefully we will get some clarity from over there.

I guess the problem is they don't say _how_ that could be done.

Some time ago, I happened to contact Mapbox support about this with hope of getting something useful. This is what they say:

You can put the text attribution on the map instead of using our UISetting, but you would still need to link to the attribution links https://www.mapbox.com/about/maps/ and http://www.openstreetmap.org/copyright somehow, such as in the menu, or by adding a TextView on the map. In addition to the attribution links, you will need to put the telemetry opt-out button somewhere, such as in your settings.


My support request, for reference
Hi,

In https://docs.mapbox.com/help/how-mapbox-works/attribution/#mapbox-maps-sdk-for-android it is said that we can include attribution on the map in a text format. Due to a requirement, we would like to provide attribution in text format _on the map_ rather than showing the attribution dialog using the UiSetting class.

It's not clear how we could provide that attribution in text format using the MapBox Android SDK. Can you help us with this?

The only hint is that they mention adding a TextView on the map.

_Edit: Add question sent to support_

@ashishkumar468 just informed me that his workstation is down and repairs will take a while due to the Covid situation where he is. We will look into this further when he is able to come back.

Some time ago, I happened to contact Mapbox support about this with hope of getting something useful.

Just an update about this.


I asked them for an example or specific instructions on how to achieve this.

Thanks for the response. I'll look into and let you know if we could find a way to add a TextView on the map. In the meantime, if you could share specific instructions/examples of how to achieve this that would be great.

This is the response that I got:

Because this is not a standard use of our attribution text, the implementation will be up to you.

So, no hopes there.

This is fixed on 2.13, closing this PR, the changes should be visible in the next release.

Hi @matkoniecz , this should be out in our current beta release, v2.13.1. Could you please register for beta testing and let us know if it works for you? Thanks!

Sorry for delay! I see that it is now fixed, thanks!

I updated list at OSM Wiki in https://wiki.openstreetmap.org/w/index.php?title=Lacking_proper_attribution&diff=2125175&oldid=2124271

Screenshot_20210312-173148

Happy to hear that, @matkoniecz ! Any chance of updating your Google Play review? ;)

Thanks for a reminder, also fixed! (now also response should be changed, currently it is quite not fitting :) )

Hmm, I can't seem to find my old response, I guess it might be automatically hidden when the review is updated? Anyway, thanks a lot @matkoniecz . :)

screen04

I edited it to include original complaint in case that someone would see it.

Was this page helpful?
0 / 5 - 0 ratings