NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Around 2 March 2019, OSMtracker for Android stopped displaying background maps, as reported by various users on Github.

One user explains that the problem is caused by openstreetmap.org blocking tile download requests with the agent string "osmdroid". This can be verified as follows:

$ wget https://b.tile.openstreetmap.org/12/1206/1539.png
2019-03-17 13:20:31 (7.90 KB/s) - ‘1539.png’ saved [40312/40312]

$ wget -U zzzzzzzz https://b.tile.openstreetmap.org/12/1206/1540.png
2019-03-17 13:20:58 (7.89 KB/s) - ‘1539.png.1’ saved [40312/40312]

$ wget -U osmdroid https://b.tile.openstreetmap.org/12/1206/1540.png
2019-03-17 13:21:17 ERROR 403: Forbidden.

Can this be fixed? (Either by unblocking osmdroid on the server, or by changing the user agent string used by OSMtracker)?

EDIT: Ok, SomeoneElse's answer led me to more information. The server block was on purpose because the server is overwhelmed by requests naming user-agent "osmdroid". This is contrary to policy. The policy is that apps are supposed to set their own user-agent. However, the policy wasn't enforced for many years, allowing apps like osmtracker to work fine despite violating the policy, until now. More threads about it: 1 2 3. So it looks like we need an OSMtracker app developer to fix it...the remaining question is simply how to make that happen?

asked 17 Mar '19, 12:23

Krubo's gravatar image

Krubo
116238
accept rate: 0%

edited 17 Mar '19, 17:29

Thanks for this information. I have submitted a Pull Request that fix the problem. I hope this could get into the app soon.

(21 Apr '19, 17:35) elotrojames

Looks like a bug in the app to me (actually, it looks like they aren't following the tile usage policy). I've commented on the github issue in the osmtracker repository.

Edit following extra info in question:

So it looks like we need an OSMtracker app developer to fix it...the remaining question is simply how to make that happen?

This github issue has contributions from an OSM server admin, a developer of the library and the developer of the app. All of these people are likely volunteers. OSMtracker is a free app and Osmdroid is a free library. Why, exactly, should the people involved drop everything to resolve your problem? I'm sure it'll get resolved as soon as the people involved can fit it in to their real-world schedules.

For the avoidance of doubt - OSM data is free (subject to licence), but its servers are not. Neither Osmdroid nor OSMtracker are OSM "products" - both are developed by third parties and are entirely unrelated to OpenStreetMap itself, except that they try and make use of OSM's servers for free.

permanent link

answered 17 Mar '19, 12:51

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 18 Mar '19, 18:40

1

I don't mean to sound demanding; I'm just a volunteer too, using osmtracker to contribute to the main map. I assume you're a volunteer as well. I appreciate that a lot of skilled volunteer work is going into that osmdroid issue. I hope the downstream osmtracker issue will get solved afterwards.

(21 Mar '19, 19:25) Krubo
1

@Krubo being a volunteer gives you no additional rights to ask or tell other people how they should spend their spare time. If it is important to you then, then the ways to "make it happen" are: a) do it yourself; or b) pay someone to do it for you.

(22 Mar '19, 11:33) SK53 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×47
×5
×4

question asked: 17 Mar '19, 12:23

question was seen: 6,043 times

last updated: 23 Apr '19, 10:26

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum