[OSM-dev] Tile usage without proper identification

Tom Hughes tom at compton.nu
Tue Sep 6 09:30:04 UTC 2016


On 06/09/16 10:22, Rory McCann wrote:
> On 05/09/16 20:19, Tom Hughes wrote:
>> Those instructions are about setting up a web based map which shouldn't
>> normally hit any policy restrictions.
>
> Those pages have examples which refer to the main openstreetmap.org tile
> servers? So the OSM.org tile usage comes into play?
>
>> Nothing in those instructions will cause requests to be sent without a
>> referer or user agent so there shouldn't be any problem with a site
>> which is built following those instructions?
>
> If you're on a HTTPS site, and access a HTTP resource, browsers will not
> send a HTTP referer. Those instructions have http:// links.
>
> The simplest solution would probably be to change the URLs in those
> documents to htts://{s}.tile.blah Then it will work fine with HTTP and
> HTTPS hosted web pages.

Or just protocol relative links as //{s}.tile.blah indeed, but thanks 
for explaining.

Hopefully the switch2osm maintainers will be able to make that edit.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the dev mailing list