Hello,
may I ask what the current status on the rendering stack on the toolserver is?
From a discussion on irc a while back, I heard that the problem with the style file not being accepted by mapnik has been solved and that mod_tile was successfully rendering tiles on ptolemy that could access under e.g. http://toolserver.org/tiles/6/31/19.png (which indeed worked for me for a while). So that all sounds great. However unfortunately at the moment it is no longer accessible and trying to contact that address just hangs and eventually times out. Accessing the mod_tile status page on ptolemy also just hangs, which may suggest that something happened to the apache process. Is this a one off problem (or even intended?) and a simple restart will fix it, or are there compatibility problems with the current mod_tile and solaris?
Otherwise, if it is stable, it would be good to be able to test that performance of the current setup is comparable to other mod_tile setups, or if more tuning is necessary. Otherwise moving some of the maps ( such as e.g. http://cassini.toolserver.org/tiles/hikebike/ ) that are still on cassini over to ptolemy might be a good idea, especially as cassini seems to be suffering some sever performance problems of its own. (s. http://cassini.toolserver.org/munin/toolserver.org/cassini.toolserver.org.ht...) Where a performance of 1 - 2 metatiles per second would be expected rather than the ~0.01 - 0.1 that it currently achieves.
Thanks,
Kai
Btw, the mapnik on willow still seems to suffer the original problem of not accepting the style files and break with the errors on saying it expects floats.
On 02/24/2010 10:30 AM, Peter Körner wrote:
Kai Krueger schrieb:
Yes, that is exactly the error I was seeing too.
Okay, so rendering simple Shapefiles works (on willow):
mazder@willow:~$ OSM=/home/project/o/s/m/osm/ $OSM/tools/render \ --style $OSM/data/mapnik/shape.xml
but even with a very small stylesheet (shapefiles& place names) it stops working:
mazder@willow:~$ OSM=/home/project/o/s/m/osm/ $OSM/tools/render \ --style $OSM/data/mapnik/simple.xml
rendering bbox (-180, -85, 180, 85) in style /home/project/o/s/m/osm//data/mapnik/shape-names.xml to file map which is of type png in size 800x600
Traceback (most recent call last): File "/home/project/o/s/m/osm//tools/render", line 128, in<module> main() File "/home/project/o/s/m/osm//tools/render", line 81, in main mapnik.load_map(m, style) UserWarning: Could not create datasource. No plugin found for type 'postgis' in layer 'placenames-large' mazder@willow:~$
It seems mapnik was compiled before postgis was available and so doesn't know about the postgis plugin. Maybe a simple recompile would solve this issue. On this run we should add the cairo bindings to support rendering to pdf, svg& co.
Peter
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l