On Tue, Jan 25, 2011 at 9:13 AM, Anthony <o...@inbox.org> wrote: > On Tue, Jan 25, 2011 at 2:49 AM, Frederik Ramm <frede...@remote.org> wrote: >> No, seriously, it would be great if someone found a way to modify the API >> (more precisely, the cgimap program) so that it accepts requests for larger >> bounding boxes in sparsely mapped areas. It is probably not easy to do this >> in a performant manner though, as by the time you have found out that the >> area that was requested contains a million nodes, you have already spent a >> lot of time slowing down the database - maybe one would have to have a >> special mapping density index for various regions of the planet. > > select whatever from whatever where whatever LIMIT n; > Longer term though, there should almost surely be a tile based index.
_______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk