From: Grant Slater Date: Tue, 11 Sep 2012 16:58:23 +0000 (+0100) Subject: Add CC BY-SA 2.0 copyright/attribution/license attributes to X-Git-Tag: live~5967 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2805118a6047fa9e5814d44003d993507222fb90 Add CC BY-SA 2.0 copyright/attribution/license attributes to --- diff --git a/config/example.application.yml b/config/example.application.yml index cf18ab557..bc66923fe 100644 --- a/config/example.application.yml +++ b/config/example.application.yml @@ -3,6 +3,9 @@ defaults: &defaults server_url: "www.openstreetmap.org" # The generator generator: "OpenStreetMap server" + copyright_owner: "OpenStreetMap and contributors" + attribution_url: "http://www.openstreetmap.org/copyright" + license_url: "http://creativecommons.org/licenses/by-sa/2.0/" # Sender addresses for emails email_from: "OpenStreetMap " email_return_path: "bounces@openstreetmap.org" diff --git a/lib/osm.rb b/lib/osm.rb index 8902e6c9e..3da9671c1 100644 --- a/lib/osm.rb +++ b/lib/osm.rb @@ -460,6 +460,9 @@ module OSM root = XML::Node.new 'osm' root['version'] = API_VERSION.to_s root['generator'] = GENERATOR + root['copyright'] = COPYRIGHT_OWNER + root['attribution'] = ATTRIBUTION_URL + root['license'] = LICENSE_URL doc.root = root return doc end