On 23/02/10 12:18, Peter Körner wrote:
I remounted the /sql filesystem without it, and performance seems much better
Anyway we're at a replag of 1 minute (current achievable minimum) and it's staying there. The rumtime for a 60 second interval is ~9 seconds, so the replication-issue seems solved for now. Next thing is rendering.
From the error-messages (see below) I'd guess that mapnik is out of date.
nightshade: UserWarning: Unknown child node in 'Map'. Expected 'Style' or 'Layer' but got 'FontSet'
Mapnik on nightshade seems to be some form of 0.5 which is indeed to old for the current osm style. 0.5 I think doesn't support the xml includes.
willow: UserWarning: Failed to parse CSS parameter 'stroke-width'. Expected type float but got '1' in LineSymbolizer in style 'highway-area-casing'
Yes, that is exactly the error I was seeing too. I "solved" the expected float error with adding white space around it, although I don't know if it solved the error or just suppressed the warning. But that doesn't seem like the correct fix. It might give a hint at what is wrong though.
But if River has figured it out before, then we should be able to get it working again. So with the performance issues solved and other things being set up, it looks like we are making some good progress :-)
River, would it be possible to install a svn HEAD version of mapnik and see if this works? Or at least the current release 0.7 (on willow 0.6.1 is installed, for nightshade i'm unable to tell)
Eventually it will probably be useful to move to 0.7. I have heard that there are some plans to move the osm tile server to 0.7 at some point to then use features in the style file that require 0.7, but at the moment I think it is still running 0.6.1. So I don't think it is a priority to move to 0.7 just now.
Kai
osm@willow:~/tools/render$ python
import mapnik mapnik.mapnik_version()
601
Peter
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l