Re: [OSM-dev] C++ implementation of the API

2008-05-23 Thread Raphael Studer
On Fri, May 23, 2008 at 8:00 PM, Frederik Ramm <[EMAIL PROTECTED]> wrote: > Hi, > >> Do we need an Apache server? >> Why not writing (in c/c++) a small daemon listening on another port >> (e.g. 8080) and having a pool of threads translating from GET requests >> to mysql querries and from mysql resu

Re: [OSM-dev] C++ implementation of the API

2008-05-23 Thread Stefan de Konink
Frederik Ramm schreef: > Hi, > >> Do we need an Apache server? >> Why not writing (in c/c++) a small daemon listening on another port >> (e.g. 8080) and having a pool of threads translating from GET requests >> to mysql querries and from mysql results to xml? > > Famous last words: "Let's just wr

Re: [OSM-dev] C++ implementation of the API

2008-05-23 Thread Frederik Ramm
Hi, > Do we need an Apache server? > Why not writing (in c/c++) a small daemon listening on another port > (e.g. 8080) and having a pool of threads translating from GET requests > to mysql querries and from mysql results to xml? Famous last words: "Let's just write a small HTTP daemon..." ;-) Su

Re: [OSM-dev] C++ implementation of the API

2008-05-23 Thread Raphael Studer
> I'm a frequent user of Perl and it has lots of merits, but I wouldn't > want to base a high-performance module on it that reads data from Mysql > and shifts it over to Apache. I haven't done the numbers on that but my > gut feeling is that you'll be copying the data around a few times more > in t

Re: [OSM-dev] Good explanation of latitude-to-pixel conversion?

2008-05-23 Thread Robert (Jamie) Munro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David MENTRE wrote: | | The code you give is to translate a (lat, zoom) to x coordinate, you | have a more direct formula applying the Mercator projection to the lat | value: | http://wiki.openstreetmap.org/index.php/Mercator | | In the above page, i

Re: [OSM-dev] C++ implementation of the API

2008-05-23 Thread Frederik Ramm
Hi, > Writing Apache modules in C is hard I don't think so. > and I don't think using mod_cpp > will make it much easier. Doing Apache modules in Perl (mod_perl has API > access including filters) is a lot easier. I don't know what the English would us in this situation but you might be famil

Re: [OSM-dev] Blue tiles tagged "Unknown Type" in Osmarender

2008-05-23 Thread Sebastian Spaeth
Neil Penman wrote: > I've found a few of the blue "unknown type" tiles in > Europe shown by > Osmarender. There is one in the UK just west of > Exeter and several in > France south of Bourges. Anyone know what is causing > the problem? The lowzoom stitcher downloads from the new "captionless"