<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br>Hi Frans/Graham,<br><br>Just to clarify this: on my site, the client does indeed only request data for the bounding box currently being displayed, see<br><a class="moz-txt-link-freetext" href="http://www.free-map.org.uk/svn/freemap/fmap2012/ws/features.php">http://www.free-map.org.uk/svn/freemap/fmap2012/ws/features.php</a>.<br><br>The features.php script expects a bbox (comma-separated west,south,east,north bounding box) parameter.<br><br>All the freemap code is available at<br><br><a class="moz-txt-link-freetext" href="http://www.free-map.org.uk/svn/freemap/">http://www.free-map.org.uk/svn/freemap/</a>.<br><br>I haven't actually worked on simplifying the feed at low zoom levels just yet, though my approach would be to filter based on feature type (e.g. only cities and large towns).<br><br>Nick<br><br><font color="#990099">-----Frans Thamura <a class="moz-txt-link-rfc2396E" href="mailto:frans@meruvian.org"><frans@meruvian.org></a> wrote: -----</font><div><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:solid black 2px;margin-right:0px">To: Graham Jones <a class="moz-txt-link-rfc2396E" href="mailto:grahamjones139@gmail.com"><grahamjones139@gmail.com></a><br>From: Frans Thamura <a class="moz-txt-link-rfc2396E" href="mailto:frans@meruvian.org"><frans@meruvian.org></a><br>Date: 21/01/2012 10:16AM<br>Cc: Nick Whitelegg <a class="moz-txt-link-rfc2396E" href="mailto:Nick.Whitelegg@solent.ac.uk"><Nick.Whitelegg@solent.ac.uk></a>, OSM-talk Openstreetmap <a class="moz-txt-link-rfc2396E" href="mailto:talk@openstreetmap.org"><talk@openstreetmap.org></a><br>Subject: Re: [OSM-talk] geojson<br><br><font size="2" face="Courier New,Courier,monospace">i post another question related to this, in the OSM API question<br><br>we will see, :) we will use your JSON model :)<br><br>and we can see what issue will raise up, and we have started the<br>threada about this scalability. that will become my homework to solve<br>that, when it happen<br><br>F<br><br><br>On Sat, Jan 21, 2012 at 5:08 PM, Graham Jones <a class="moz-txt-link-rfc2396E" href="mailto:grahamjones139@gmail.com"><grahamjones139@gmail.com></a> wrote:<br>> Hi Frans,<br>> I haven't checked Nick's code, but I think that it works by the client<br>> requesting data for the specific area that is being displayed on the map.<br>> The BrewMap code just uses a single data file to cover the entire area (in<br>> this case the uk), so even if you zoom in very close, it still uses data for<br>> the whole uk.   This is fine if you only have a few hundred data points, but<br>> will become very slow if you have tens of thousands.<br>><br>> Now for low zoom levels (large displayed areas) this amounts to the same<br>> thing, so there would be no benefit, unless you do some filtering on the<br>> server side to simplify the data (eg group POIs if they are going to be<br>> plotted on top of each other).   I have not done this yet, but Nick, and the<br>> folks working on KothicJS are likely to have thought about it and may have<br>> solutions, which is why I think it is worth investigating how they do it.<br>><br>> Whether it is worth putting effort into simplifying the data on the server<br>> depends on how much data you are dealing with.<br>><br>> Regards<br>><br>> Graham.<br>><br>> --<br>> Graham Jones<br>> Hartlepool, UK.<br>><br></font></blockquote></div></font>