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

Hi

We have been using openstreetmap for over a year now to present the location for some of our weather-stations in a windows application form. We use the gMap.net library and now all of the sudden we get Error code 403 (forbidden) in our application. This happen on Tuesday and is still the same, so this seems not to be any temporarily error.

Any suggestions for fixing this problem? Is there any way to check i we are "blocked" from OSM?

asked 31 May '19, 08:52

KristoferK's gravatar image

KristoferK
56114
accept rate: 0%


GreatMaps has used OpenStreetMap tiles as a free provider, which is no longer possible due to excessive usage which is blocking the intended use as help for map editors. See the OpenStreetMap Tile Usage Policy.

It would be logical to modify the GreatMaps library to add a provider such as MapBox as an alternate source. Note that while they are free to use for development, volume usage will require a paid plan.

permanent link

answered 31 May '19, 12:13

Mike%20N's gravatar image

Mike N
2.9k22254
accept rate: 17%

edited 31 May '19, 13:20

Do Mapbox offer a drop-in tile server replacement for e.g. gMap.net? A brief check of their website doesn't suggest that they do, but I don't speak their language (I'm English, they're American) so I may be wrong.

The bigger "problem" with Mapbox is probably that they aren't "free" at volume - I've seen complaints (e.g. to the DWG) saying "yes we want lots of tiles, but we can't afford to pay" to which the answer is "I'm sorry, but OSM doesn't exist in order to reduce the cost base of your company".

(for the avoidance of any doubt - this is not a criticism of any commercial tile provider for not providing free tiles - it's a criticism of people asking for lots of them, without understanding that someone, somewhere, has to pay for them).

(31 May '19, 12:39) SomeoneElse ♦

Mapbox doesn't offer this - it would seem to be worth their time to offer a GreatMaps fork as an option. But logically, it should be easy for the GreatMaps repo to offer Mapbox as a paid alternative source. I'll update my answer to note the pay at volume problem.

(31 May '19, 13:18) Mike N

But logically, it should be easy for the GreatMaps repo to offer Mapbox as a paid alternative source

I'm not sure that that's actually an option - what I was trying to say above (perhaps not very clearly) was that I don't think that Mapbox offers a compatible source of tiles to e.g. https://a.tile.openstreetmap.org/2/1/1.png . You could certainly argue that what they do offer is a better fit on mobile (their clients and libraries that use vector tiles) but I don't think that it would be "easy for the GreatMaps repo to offer Mapbox as a paid alternative source" - unless you can point to a way to do that?

(03 Jun '19, 10:48) SomeoneElse ♦

This has been discussed at length on the dev list.

The issue was raised with "greatmaps" here. Their response suggested that they just want to continue leeching free map tiles.

As Mike N has already noted, If you are using OSM's own hosted tiles, you will need to read OpenStreetMap Tile Usage Policy. In this case you appear to have been adversely affected by the actions of "greatmaps"' maintainer. The problem is likely to continue until they change their attitude.

Can I suggest that you consider another source of map tiles? If you don't want to create your own then numerous providers are available. Depending on your usage these will cost money - someone, somewhere has to host the servers and maintain them. If that isn't an option then creating your own tile server is pretty straightforward - I'd expect the level of background detail you need on a weather map is relatively low, which should reduce the database size needed to something relatively affordable in hosting terms.

permanent link

answered 31 May '19, 12:27

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Thanks for the replies. Making my own User-Agent string describing name and version of application and providing company page in the refererUrl solves the problem.

Am I thinking right in these things? User-agent and referer url? This way OSM should be able to identify our application.

permanent link

answered 03 Jun '19, 10:39

KristoferK's gravatar image

KristoferK
56114
accept rate: 0%

Your answer
toggle preview

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:

×3

question asked: 31 May '19, 08:52

question was seen: 4,711 times

last updated: 03 Jun '19, 10:48

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