-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade tileservers to mapnik3 #39
Comments
There's a PPA that Dane maintains with mapnik3 packages right? |
Hmm apparently not for mapnik 3 |
Sent a message via launchpad asking if they plan to add a PPA for the 3.x releases. |
I guess the other question is, what's the story with mod_tile? Is it mapnik 3 ready? |
Supposedly it builds, but I doubt it's very tested. I opened a ticket mapnik/debian#17. I have upload access, but not PPA creation access. |
I'm working to get Mapnik 3 into trusty-backports, as mapnik/debian#17 has sat unanswered for 3 months. |
That's really useful. Thanks @pnorman! |
So does that mean the latest version of Ubuntu already has it? If so, and you don't want to try and get it into backports, or aren't able to, then we can always just put a build in our PPA instead. I mean if it's going to be in 16.04 then we're not far from that anyway. |
Yep. 16.04 has 3.09, 15.10 has an earlier 3.0.x
I want to get it into backports for wider use and writing guides. From OSGeo Live I understand it builds fine against, so it should be fairly easy once I work through the backport process.
Ya, 16.04 will come with several upgrades which will make all of this much easier. Once I have Mapnik 3 going, I still need to test mod_tile |
xenial (16.04) to trusty (14.04) backport built cleanly, but I still need to test it, and test with rdepends like mapnik-vector-tile |
It compiles and renderd starts. I'm not sure on the packaging. |
Launchpad issue for backporting: https://bugs.launchpad.net/trusty-backports/+bug/1544413 Mapnik 3 conflicts with monav, which has been dropped from more recent debian and ubuntu versions, so I'm not sure how they'll feel about the backport. |
Do we have any guesses as to whether the backport is likely to happen before Xenial is released? If not, is the plan to wait until the end of April and upgrade the tileservers, or are we going to get mapnik3 (and mod_tile etc) before then? |
It'd be pretty easy to get mapnik 3 on any ppa before then - mod_tile/renderd is a different matter, and I've never packaged that |
Given that it's April, I'd suggest doing this as part of an Xenial upgrade. A few thoughts
|
We would normally wait for 16.04.1 before starting to do upgrades (not sure when that is due) but we can probably wave that in this case. I will likely do some other not particularly critical machine first, to sort out any general issues with our chef recipes, though I think I have already done a lot of that for the 15.10 machine we have Ideally I would say that we start by upgrading the machines but using existing data and style sheet, and then develop a plan for reloading the database - will that work? ie does the currently style sheet work with mapnik 3? The other question is how long a database load will take - it's been a while since I've done one - and what sort of "debugging time" you think we might need... Very little I would hope if it's all basically tested beforehand. |
How about repurposing poldi to a tile server for a while (or even permanently)? It's a bit short on disk space for tile caching but otherwise has the same specs as yevaud. And it's sitting there idle at the moment. Having pummelzacken as nominatim backup machine is imho sufficient. |
Woah, lets not get to hasty here. We can talk about database reloads later on. If we make this a bigger project than just getting mapnik3 working we're making it less likely to happen. :-)
Yes, it works as-is and provides a huge improvement in text rendering in South-East Asia, so I'm keen to see it happen as soon as possible. |
It depends if we do an in-situ upgrade or not. If we don't, it's easiest to reload at the same time. I'm not proposing a schema change or anything on the style side, just a reload with existing settings.
The style is developed with Mapnik 3, so I'm not particularly worried about bugs there. I see likely sources of bugs as
Those three things are hard to test in advance |
I can confirm there were no issues with renderd+mod_tile and Mapnik 3 on Debian strech |
I was wondering about the current status of this issue? |
I was talking to @Firefishy about this last week and my suggestion was that we repurpose poldi as a third tile server, getting that setup with Ubuntu 16.04 and mapnik 3 and then we upgrade the other two in turn. First step is openstreetmap/operations#79 to get poldi sorted out, which @Firefishy is working on. |
What version of mapnik is currently used? Is it defined at
|
Whatever's in the repo I believe. |
2.2.0 |
Is there any news already? Anything we can do to help perhaps? |
I believe @Firefishy is still working on getting poldi sorted, which is the first step. |
I've got a PPA with mapnik3 & mod_tile packaged up. At the moment it's under |
vial is running with 16.04 and Mapnik 3, so I'm keeping my eye out for potentially related problem reports. |
Assuming nothing horrible happens this week I'll probably look at upgrading one of the other machines next weekend and then the other one a week or two after that... |
All three tile servers are now running mapnik 3.0.9 with postgres 9.5 and postgis 2.2. |
Great news, thanks a lot! |
Thanks! |
And what Carto version is installed now? If it's 0.16+, we would be able to drop the MML from osm-carto. |
I updated carto to the latest release when doing the upgrades so it is 0.16.3 currently. That is installed from npm anyway so is easily upgraded when necessary. |
Thanks, Tom! |
On behalf of the openstreetmap-carto project, we'd like to see the OSMF tileservers upgraded to using mapnik3. We are confident that our stylesheet works on both mapnik2 and mapnik3 and are happy to make any tweaks that are uncovered.
Most importantly, there's a step-change improvement in text rendering quality for non-latin scripts just by upgrading.
The text was updated successfully, but these errors were encountered: