[OpenStreetMap] #5024: Provide imagery blacklist in API capabilities
OpenStreetMap
trac at noreply.openstreetmap.org
Sat Aug 30 00:51:57 UTC 2014
#5024: Provide imagery blacklist in API capabilities
--------------------------+--------------------------------------------
Reporter: don-vip | Owner: rails-dev@…
Type: enhancement | Status: new
Priority: major | Milestone:
Component: api | Version:
Resolution: | Keywords: capabilities imagery blacklist
--------------------------+--------------------------------------------
Comment (by don-vip):
Thanks for the update.
I think we should stick to the format defined and implemented by Frederik
years ago. Implementing it now in the API should result in all JOSM
clients honor it, even the oldest ones, even Mac OSX users stuck with Java
6, and so on:
{{{
#!xml
<api>
...
</api>
<policy>
<imagery>
<blacklist regex=".*\.google\.com/.*" />
<blacklist regex=".*209\.85\.2\d\d.*" />
<blacklist regex=".*209\.85\.1[3-9]\d.*" />
<blacklist regex=".*209\.85\.12[89].*" />
</imagery>
</policy>
}}}
We should however test it first against http://api06.dev.openstreetmap.org
as this part of JOSM code has never really been used since.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/5024#comment:7>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list