Re: [Talk-gb-westmidlands] Downloading OSM slippy map tiles

2019-07-09 Thread Andy Townsend
On 08/07/2019 21:05, Iain Simpson wrote: added  my Firefox User-Agent   now works fine I suspect that what Tom had in mind was to set it to something that uniquely identifying your application, rather than using one from a web browser (if I'm reading your email correctly). Glad it's worki

Re: [Talk-gb-westmidlands] Downloading OSM slippy map tiles

2019-07-08 Thread Iain Simpson
Thanks Andy I found that the solution was (as Tom Hughes put it) " Set a proper user agent as required by the usage policy and you should find it works again - generic python user agents are blocked " added my Firefox User-Agent now works fine see https://operations.osmfoundation.org/polici

Re: [Talk-gb-westmidlands] Downloading OSM slippy map tiles

2019-07-07 Thread Andy Townsend
On 07/07/2019 19:26, Iain Simpson wrote: I've just tried to run it again and it fails with 'urllib.error.HTTPError: HTTP Error 403: Forbidden' I assume that the OSM access methods/conditions have changed. Can anyone suggest where to look or who to contact ? My guess is that you're using http r

[Talk-gb-westmidlands] Downloading OSM slippy map tiles

2019-07-07 Thread Iain Simpson
Hi 6-7 years ago I wrote a small Python based system to retrieve geo-tagged photos of a given area. The location of each photo was marked on a generated map created with downloaded OSM tiles. The map was 3x3 tiles square and could be zoomed in or out as required. The photo details were stored