Re: [OSM-dev] Improvement of tile rendering

2009-03-21 Thread Jon Burgess
On Sat, 2009-03-21 at 02:25 +0100, Udo Giacomozzi wrote: Hello Jon, Friday, March 20, 2009, 7:48:42 PM, you wrote: JB If you want to mess around with a slightly higher level implementation, JB I recently re-implemented the mod_tile render daemon into python [1]. Unfortunately I'm not

Re: [OSM-dev] Improvement of tile rendering

2009-03-21 Thread Udo Giacomozzi
Hello Jon, Saturday, March 21, 2009, 10:39:00 AM, you wrote: - in this case a Apache module is probably not really faster than a FastCGI implementation JB Maybe, but you need both implementations to do a fair comparison. JB Serving the tiles directly from the Apache thread should be faster

Re: [OSM-dev] Improvement of tile rendering

2009-03-21 Thread Jon Burgess
On Sat, 2009-03-21 at 11:18 +0100, Udo Giacomozzi wrote: Hello Jon, Saturday, March 21, 2009, 10:39:00 AM, you wrote: - in this case a Apache module is probably not really faster than a FastCGI implementation JB Maybe, but you need both implementations to do a fair comparison. JB

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Ceriel Jacobs
On Tue, 17 Mar 2009 18:35:18 +0100 Stefan de Konink wrote: I have set this up completely inside a webserver. Cherokee, no php, just the python script that renders the thing on demand. Runs in production for months now. snip vserver!10!domain!1 = tile.openstreetmap.nl This looks really

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Stefan de Konink
Ceriel Jacobs wrote: On Tue, 17 Mar 2009 18:35:18 +0100 Stefan de Konink wrote: I have set this up completely inside a webserver. Cherokee, no php, just the python script that renders the thing on demand. Runs in production for months now. snip vserver!10!domain!1 = tile.openstreetmap.nl

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Roeland Douma
It sounds like a did a lot of work. However the script is actually the worst piece of code I ever hacked together (maybe some visual basic stuff was worse). On Friday 20 March 2009 17:53:13 Stefan de Konink wrote: Ceriel Jacobs wrote: On Tue, 17 Mar 2009 18:35:18 +0100 Stefan de Konink

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Dave Stubbs
2009/3/20 Ceriel Jacobs cerieljac...@gmail.com: On Tue, 17 Mar 2009 18:35:18 +0100 Stefan de Konink wrote: I have set this up completely inside a webserver. Cherokee, no php, just the python script that renders the thing on demand. Runs in production for months now. snip

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Ceriel Jacobs
Op 20 mrt 2009, om 18:22 heeft Roeland Douma het volgende geschreven: But how is expiry of the tile files themselves being done? That part is handled using the 'default' code provided in SVN. The invalidator code; there were some modifications by Roeland; I guess he can elaborate more on

Re: [OSM-dev] Improvement of tile rendering

2009-03-20 Thread Udo Giacomozzi
Hello Jon, Friday, March 20, 2009, 7:48:42 PM, you wrote: JB If you want to mess around with a slightly higher level implementation, JB I recently re-implemented the mod_tile render daemon into python [1]. Unfortunately I'm not familiar with Python. JB It is functionally equivalent to the C

Re: [OSM-dev] Improvement of tile rendering

2009-03-19 Thread Stefan de Konink
Udo Giacomozzi wrote: Instead I'm thinking about writing some multithreaded FreePascal or C++ FastCGI server that does it much more efficiently (by using libmapnick internally) but I still need to have a look at mod_tile as it might already provide a highly performant solution. Investigate

Re: [OSM-dev] Improvement of tile rendering

2009-03-19 Thread Udo Giacomozzi
Hello Stefan, Friday, March 20, 2009, 12:55:27 AM, you wrote: Instead I'm thinking about writing some multithreaded FreePascal or C++ FastCGI server that does it much more efficiently (by using libmapnick internally) but I still need to have a look at mod_tile as it might already provide a

Re: [OSM-dev] Improvement of tile rendering

2009-03-19 Thread Stefan de Konink
Udo Giacomozzi wrote: Hello Stefan, Friday, March 20, 2009, 12:55:27 AM, you wrote: Instead I'm thinking about writing some multithreaded FreePascal or C++ FastCGI server that does it much more efficiently (by using libmapnick internally) but I still need to have a look at mod_tile as it

Re: [OSM-dev] Improvement of tile rendering

2009-03-19 Thread sylvain letuffe
Since we are exploring different mapnik based rendering, I'm presenting mine too ;-) It's really just a simple PHP script that invokes the Python script: http://paste.debian.net/31026/ That's almost what I did in the first place ( in even more hugly !) as I am a php dev and not a python

[OSM-dev] Improvement of tile rendering

2009-03-17 Thread Udo Giacomozzi
I just set up my own Mapnik server that renders map tiles on demand and saves them on disk so that they are efficiently cached. Currently this is done using a PHP script (FastCGI handler with 5 instances) that handles 404 errors and invokes a python script to render the tile which then gets stored

Re: [OSM-dev] Improvement of tile rendering

2009-03-17 Thread Dave Stubbs
2009/3/17 Udo Giacomozzi udo@nova-sys.net: I just set up my own Mapnik server that renders map tiles on demand and saves them on disk so that they are efficiently cached. Currently this is done using a PHP script (FastCGI handler with 5 instances) that handles 404 errors and invokes a

Re: [OSM-dev] Improvement of tile rendering

2009-03-17 Thread Stefan de Konink
Udo Giacomozzi wrote: I just set up my own Mapnik server that renders map tiles on demand and saves them on disk so that they are efficiently cached. Currently this is done using a PHP script (FastCGI handler with 5 instances) that handles 404 errors and invokes a python script to render the

Re: [OSM-dev] Improvement of tile rendering

2009-03-17 Thread Dane Springmeyer
Hey Udo, On Mar 17, 2009, at 8:36 AM, Udo Giacomozzi wrote: I just set up my own Mapnik server that renders map tiles on demand and saves them on disk so that they are efficiently cached. Currently this is done using a PHP script (FastCGI handler with 5 instances) that handles 404 errors and

Re: [OSM-dev] Improvement of tile rendering

2009-03-17 Thread Stefan de Konink
Jon Burgess wrote: On Wed, 2009-03-18 at 00:48 +0100, Stefan de Konink wrote: Dane Springmeyer wrote: I should stress though that Mod_tile is the optimal solution for tile rendering for most OSM related purposes. I wonder if an Apache module is able to provide caching. I doubt it can,

Re: [OSM-dev] Improvement of tile rendering

2009-03-17 Thread D Tucny
2009/3/18 Stefan de Konink ste...@konink.de Jon Burgess wrote: On Wed, 2009-03-18 at 00:48 +0100, Stefan de Konink wrote: Dane Springmeyer wrote: I should stress though that Mod_tile is the optimal solution for tile rendering for most OSM related purposes. I wonder if an Apache module