drolbr/Overpass-API

Make copyright notice customizable

Closed this issue · 1 comments

1ec5 commented

The output formats always prepend a copyright notice that refers to www.openstreetmap.org and the ODbL. This is expected for any data that actually comes from OSM, but the Overpass API can also be configured for other projects that use the OSM software stack without OSM data per se. For example, OpenHistoricalMap is located at www.openhistoricalmap.org and subject to a CC0 public domain dedication. OpenGeofiction is located at www.opengeofiction.net and under a nonfree Creative Commons license.

Ideally there would be a way to customize this message without having to fork the project. I understand that you wouldn’t want to make it too easy to remove attribution on OSM data. However, it probably isn’t in OSM’s interest that third parties are currently attributing non-OSM data to OSM using an OSMF trademark, while omitting their own attribution.

"<p>The data included in this document is from www.openstreetmap.org. "
"The data is made available under ODbL.</p>\n";
std::cout<<" \"copyright\": \"The data included in this document is from www.openstreetmap.org."
" The data is made available under ODbL.\"\n"
"<note>The data included in this document is from www.openstreetmap.org. "
"The data is made available under ODbL.</note>\n";

/ref OpenHistoricalMap/issues#558

Thank you for pointing me to this problem for reuse.

A solution has been implemented in 1723591 :
just place a file copyright_notice in the database directory and the first line of that file is printed as the copyright notice.

The feature will come live with the next version, 0.7.63.