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 <webmaster@openstreetmap.org>"
email_return_path: "bounces@openstreetmap.org"
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