[OpenLayers-Dev] Grid-style loading of Markers

Eric Lemoine eric.lemoine at camptocamp.com
Wed Feb 10 02:26:02 EST 2010


On Tuesday, February 9, 2010, Matt Williamson <MatthewDW at gmail.com> wrote:
> Devs,
>
> I posted this to the Users list, but the devs list might have made more sense, since part of the question has to do with the vector behaviors sandbox in SVN...
>
> I am looking for a way to load statically stored "tiles" full of marker information, so I can do progressive disclosure of a large point dataset (and I don't have access to Geoserver or similar server-side component). My maps are spherical mercator/Google based, so loading the markers in tiles makes sense.
>
> I found this post on the dev list, which sounds pretty much exactly like what I want to do...
>
> http://openlayers.org/pipermail/dev/2009-January/004222.html
>
> But it was using stuff from the vector behaviors sandbox, which hasn't been touched in a year, it looks like.
>
> So my question is: Is there a standard way to do something like this? From static tile files on the server filesystem (probably GeoJSON format)? I know the "right" answer is to set up a WFS server somewhere, but that's out of the question in the short term. Plus, my point locations change very seldom, so Geoserver would really be overkill anyway.
>
> I was going to try writing my own OpenLayers.Layer.Grid and OpenLayers.Tile subclasses, but I wanted to check if there's an existing way to do this that I've missed, or if the OpenLayers.Strategy.Grid stuff in the vector behaviors sandbox stuff is still a valid way to go.

Hi. Just like the BBOX strategy the grid strategy sends requests with
a BBOX filter so a web service that can "decode" that filter is
assumed.

Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Dev mailing list