[OSM-talk] geojson
Graham Jones
grahamjones139 at gmail.com
Sat Jan 21 10:08:00 GMT 2012
Hi Frans,
I haven't checked Nick's code, but I think that it works by the client
requesting data for the specific area that is being displayed on the map.
The BrewMap code just uses a single data file to cover the entire area (in
this case the uk), so even if you zoom in very close, it still uses data
for the whole uk. This is fine if you only have a few hundred data
points, but will become very slow if you have tens of thousands.
Now for low zoom levels (large displayed areas) this amounts to the same
thing, so there would be no benefit, unless you do some filtering on the
server side to simplify the data (eg group POIs if they are going to be
plotted on top of each other). I have not done this yet, but Nick, and
the folks working on KothicJS are likely to have thought about it and may
have solutions, which is why I think it is worth investigating how they do
it.
Whether it is worth putting effort into simplifying the data on the server
depends on how much data you are dealing with.
Regards
Graham.
--
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20120121/12fcf524/attachment-0001.html>
More information about the talk
mailing list