[OpenLayers-Users] Styling a point that is made up of multiple
points
Alexandre Dube
adube at mapgears.com
Thu Jul 30 11:14:12 EDT 2009
Dave Winfield wrote:
> I apologize I was not giving all the information. It IS a WMS layer
> and I'm using GeoServer.
>
> Can I use a Vector layer, and still "smartly" query the database to
> only show documents that would be seen on screen. I have a lot of
> points that come from the layer, and wouldn't want to always be
> getting the whole data set.
>
Yes, with the BBOX strategy you could :
http://openlayers.org/dev/examples/strategy-bbox.html
Regards,
Alexandre
> Thank you,
>
> Dave
>
> On Thu, Jul 30, 2009 at 10:38 AM, Alexandre Dube <adube at mapgears.com
> <mailto:adube at mapgears.com>> wrote:
>
> Hi Dave,
>
> What kind of wms server are you using. MapServer ? GeoServer ?
> Your question seems more related to one of theses project since
> you seem to be using a WMS layer.
>
> One the other hand, if you used a Vector layer instead with a
> Cluster strategy, you could replicate what you need with
> OpenLayers. The use of Vector features can slow down your
> application if you have a lot of them, though. See the OpenLayers
> example (1) for more.
>
> Regards,
>
> Alexandre
>
> (1) http://openlayers.org/dev/examples/strategy-cluster.html
>
> Dave Winfield wrote:
>
> Essentially, on my maps, there are multiple things happening
> at the same exact location. Unfortunately right I can't tell
> that by looking at it (there's only one dot being shown) and I
> can only tell there's more than one thing happening when I
> click on it and do the getFeatureInfo request.
>
> Does anyone know of a way to give a visual cue to the users?
> Off the top of my head I'm thinking either put a number next
> to it, or just change the color using the sld?
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org <mailto:Users at openlayers.org>
> http://openlayers.org/mailman/listinfo/users
>
>
>
>
> --
> Alexandre Dubé
> Mapgears
> www.mapgears.com <http://www.mapgears.com>
>
>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Users
mailing list