[OpenLayers-Users] Proportional Symbol Mapping

David Fawcett david.fawcett at gmail.com
Fri Apr 4 09:40:30 EDT 2008


I can think of another option, but it is a fairly big change of course.

Instead of sending RSS to OpenLayers and building the vector features, you
could use MapServer to create a transparent WMS layer with your features in
it.  That way, you could use LAYER SYMBOLSCALE to scale your symbols.

David.

On Fri, Apr 4, 2008 at 5:57 AM, Christopher Schmidt <crschmidt at metacarta.com>
wrote:

> On Fri, Apr 04, 2008 at 10:48:09AM +0200, Eric Lemoine wrote:
> > On Thu, Apr 3, 2008 at 11:05 PM, Bjorn Sandvik <B.Sandvik at sms.ed.ac.uk>
> wrote:
> > >  My question: Is there a way to keep the relative size of the symbols
> > >  when the users zoom in/out?
> >
> > AFAICT there's no way to style features based on the current zoom level.
>
> I'm pretty sure that the StyleMap/Style/Rule system is designed exactly
> for that, but I have no idea how it's supposed to work.
>
> I would say "look at http://trac.openlayers.org/wiki/Styles", but I see
> that it's using Rules for styling, which I think was recently decided
> would be unsupported in OpenLayers 2.6, so I don't know what you're
> actually supposed to do.
>
> Andreas? Tim?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080404/7ba7e171/attachment.html


More information about the Users mailing list