Re: [OSM-dev] GSoc Idea Statics Map API

2009-03-24 Thread Udo Giacomozzi
Hello amit, Tuesday, March 24, 2009, 10:05:12 AM, you wrote: as For the implementation: I had thought that we would have to as dynamically create an image from xml but we could also use one of as the available rendering engines to create the image. Isn't Mapniks up-to-date backend exactly

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-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 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] Bulk downloading of Mapnik tiles

2009-03-17 Thread Udo Giacomozzi
Hello Dirk-Lüder, Monday, March 16, 2009, 7:45:30 PM, you wrote: So, is bulk downloading as described above allowed? DLK Probably not Ok, I'm trying to set up my own Mapnik server now... ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Cannot render tiles using Mapnik: Bad file descriptor

2009-03-17 Thread Udo Giacomozzi
UG My modified Python script to only render the specified area: UG http://paste.debian.net/30753/ Sorry, here is the correct version: http://paste.debian.net/30757/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

[OSM-dev] Cannot render tiles using Mapnik: Bad file descriptor

2009-03-17 Thread Udo Giacomozzi
I just set up Mapnik on a Debian Etch machine by following the instructions in the Wiki. For a first test I downloaded only a small area from openstreetmap.org: http://www.openstreetmap.org/?lat=46.2967lon=11.2565zoom=12layers=B000FFF Setting up the database seemed to finish without any problems.

Re: [OSM-dev] extracting house-number from string

2009-03-17 Thread Udo Giacomozzi
Hello Stefan, Tuesday, March 17, 2009, 1:51:36 PM, you wrote: SB 1st street 1234 SB Street = 1st street SB houseno = 1234 SB I didn't see how the algo would prefer 1234 over 1st because both are numbers... Well, you could give the last number precedence. Or do you have an example where the

[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] extracting house-number from string

2009-03-16 Thread Udo Giacomozzi
Hello Stefan, Sunday, March 15, 2009, 5:52:33 PM, you wrote: SB Yes, it would. But maybe it's the wrong approach to identify the SB housenumber and then look it up. Instead, building a list of all SB available housenumber/street combinations from the dataset and doing a SB similar search might

[OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Udo Giacomozzi
I'd like to download a portion of the OSM map tiles (from tile.openstreetmap.org) for offline usage /and/ to offload the OSM server for the projects where I'm using OSM maps (which are used by several users). Currently the area of interest contains 587001 tiles at zoom level 18. Is it okay if I

Re: [OSM-dev] Why no curves in map data?

2009-03-16 Thread Udo Giacomozzi
Hello Martin, Monday, March 16, 2009, 8:19:21 PM, you wrote: MK well Bezier-Curves date back to the 1960ies, that is before any kind MK of electronic geodata was used. It still seems strange to me that they MK got this patent as it is too generic, but maybe that's how it is. I think the patent

[OSM-dev] Why no curves in map data?

2009-03-14 Thread Udo Giacomozzi
Is there a good reason why all map databases seem to be fixed on straight lines and do not support some kind of bezier curves? After all, streets most of the time have curves and only at junctions or in other rare situations have corners. Using bezier curves would at the same time lead to more

Re: [OSM-dev] extracting house-number from string

2009-03-14 Thread Udo Giacomozzi
Hello Marcus, Friday, March 13, 2009, 4:28:24 PM, you wrote: MW does anyone know a good algorithm to extract MW the house-number from a string containing MW street-name and house-number? Why not treat any word that begins with a digit as house number? Note that street names sometimes contain

Re: [OSM-dev] Why no curves in map data?

2009-03-14 Thread Udo Giacomozzi
Hello Stefan, Saturday, March 14, 2009, 4:44:10 PM, you wrote: SdK Basically my storage model thinks everything in simple linear lines. SdK Adding weight will give you NURBS ;) Infinite weight gives you an SdK absolute point. I guess you get the idea now. Not sure I really understand the

Re: [OSM-dev] Why no curves in map data?

2009-03-14 Thread Udo Giacomozzi
Hello Cartinus, Sunday, March 15, 2009, 2:57:30 AM, you wrote: C Because to do curves _right_ you need more data then you have now. First you C need to know if a line has to curve at a point at all. (I wouldn't want to C have rounded corners on every square.) If the line curves, then you need to

Re: [OSM-dev] OSM data on on-board-terminals

2009-03-07 Thread Udo Giacomozzi
rotate/scale the data on the fly without any quality loss or generate some sort of 3D view (just as a classic navigation computer). Udo -- Udo Giacomozzi ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev