Hi.

I'm developing project with your osm soft. Now i have the problem with slow rendering or not rendering tiles. Can it cause to many requests from 1 ip address? Or some other reason?

asked 31 Oct '18, 13:06

jedi's gravatar image

jedi
10112
accept rate: 0%

2

You'll need to provide more information about what you're doing. Is this a tile renderer you've set up yourself (and if so, which one and how did you set it up?), or are you using an existing rendering service? We'll also need to know how you're using the tiles (e.g. in an app, a website, etc.).

(31 Oct '18, 16:35) alester

My project is under angular 6. I'm using leaflet library as ng module. But settings is simple and similar as here.

let LAYER_OSM = {
  id: 'openstreetmap',
  name: 'Open Street Map',
  enabled: true,
  layer: L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
    maxZoom: 18,
    attribution: 'Open Street Map'
  })
};

But sometimes tile loading is very slow or even not loading.

alt text alt text alt text

(01 Nov '18, 08:44) jedi
1

If you retry one of the failing tile URLs (e.g. https://a.tile.openstreetmap.org/9/255/169.png ) does it work? If so I'd suspect the network connection between your server and the tile cache.

(01 Nov '18, 11:19) SomeoneElse ♦
1

Direct request finally works but takes for that about 20 sec(

(01 Nov '18, 11:27) jedi

OK, I'd track that problem down first then, trying to find the "part of the network connection that makes things slow". There's a bunch of stuff in the OSM wiki that explains how the tiles are rendered (from where and for where).

(01 Nov '18, 15:59) SomeoneElse ♦
-1

Hello!

Is there something new about my problem?

(16 Nov '18, 09:13) jedi

Hello there. Just wanted to add that I use OSM frequently and the same issue has been happening for me very often lately. The tile server often responds with status codes 504 and 502, and sometimes 500 and even 404 (!). This has been going on for a few weeks at least, so I don't think it could be any kind of maintenance. And looking at the screenshot the author posted in the OP, we are probably from the same region/country, so we both must be served by the same tile server.

Sometimes the tile server returns an error message (example), so it's definitely not a problem with my connection.

(06 Feb, 13:22) Player701

I have similar issue at zoom 16 while browsing openstreetmap.org. Some tiles are not loaded at this zoom level. When trying to load individual tiles i get 404 - not found. for example here and this tile. This is the first time I see this issue. A screenshot of what I see (I've reduced the zoom level of my browser window). i tested it with two different ISPs, same issue on both. thanks

(06 Feb, 18:14) iriman
showing 5 of 8 show 3 more comments
Be the first one to answer this question!
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:

×231
×158
×29

question asked: 31 Oct '18, 13:06

question was seen: 1,106 times

last updated: 07 Feb, 15:32

powered by OSQA