Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New openstreetmap-carto release, v4.5.0 #138
referenced this issue
Nov 23, 2017
I have the same issue with z5 in Western Europe as reported, I also have similar problem on z7 (for example eastern part of Poland and other eastern countries still show natural reserves and railways).
Eh? I assumed the point was that this stylesheet change had added or removed a lot of detail at z5? So I don't see how this can predate this change?
Am I missing something? Are the two versions of z5 we are seeing not the before and after versions for this stylesheet change?
Looks like orm is rendering low/medium zoom at last (it's not clear what happened earlier as we have missing data for v4.5.0 deployment on 17-19.11):
I also see my problems described here are gone and USA or China are also clean now on z5.
Te question is however what just happened and if that could be avoided in the future. Tom, what is the algorithm/rule for rerendering low and medium zoom levels on the OSMF servers?
The short version is that
That's not unusual - it doesn't seem to be the most stable of things. I don't have any good ideas how to work around it though - we already restart it if it exits with an error which copes with the case where renderd is restarted and it bombs out but in this case it had seemingly just hung.
The updates to the tileservers are handled via chef. All the configuration is available in the chef repo, although I realise it can be a bit intimidating to read, it's understandable particularly if you're used to how tileservers work.
The above link shows the heart of the update process. It subscribes for notifications that the "git style_directory" resource has run, which happens when the config is updated for a new release. The
So in short, it triggers automatically when the style gets updated.
In theory, you can use the chef repo to set up a perfect clone of the production tileservers, so that you can tinker with it and see how it works locally. We've set up a few of the cookbooks to work with test-kitchen, but not all of them yet. Unfortunately the
If anyone needs a more thorough explanation of how the chef cookbooks work I'm happy to help. I'm not actually familiar with the OSMF tileserver setup but I'm experienced enough at reading Chef cookbooks to figure it out :-)
To follow up a little more I should probably explain how the
Firstly as @gravitystorm says by the time it starts the style has been updated and renderd has been restart so any new tiles rendered will be in the new style from that point on.
What I did on orm yesterday was just to kill
There is a separate script called
Thanks, that explains a lot!
I've made a link on osm-carto Wiki page, but I think that you could probably put these things in a place that is more visible for the rest of OSM community than a closed ticket in some obscure subproject
This might look like a boring nerdy stuff, but for me it's a precious knowledge and I think this is a great way to make OWG more open and approachable. I remember, Andy, that you wanted to invite more people to work there, and I guess it could really work this way.