[openstreetmap-website] Add an imagery blacklist to capabilities (#806)

Paul Norman notifications at github.com
Sat Aug 30 09:00:13 UTC 2014


This blacklist is for imagery which is of an incompatible license or ToS but is incorrectly used with some frequency.

This adds a <policy> element to the capabilities XML which contains the blacklist information within it.

@tomhughes, could you deploy this branch on errol for testing?

Also, when doing so could you add ``- ".*\\.stamen\\.com/.*"`` to application.yml? We need something blocked to test with, and stamen has layers that are unlikely to be in any presets or used.

Fixes [trac 5024](https://trac.openstreetmap.org/ticket/5024)
You can merge this Pull Request by running:

  git pull https://github.com/pnorman/openstreetmap-website blacklist

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/806

-- Commit Summary --

  * Add an imagery blacklist to capabilities

-- File Changes --

    M app/controllers/api_controller.rb (10)
    M config/example.application.yml (5)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/806.patch
https://github.com/openstreetmap/openstreetmap-website/pull/806.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/806
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140830/798350be/attachment.html>


More information about the rails-dev mailing list