[mapserver-users] LINE layer on small scales
Jochen Topf
jochen at remote.org
Mon Dec 1 03:50:04 PST 2008
On Mon, Dec 01, 2008 at 12:19:46PM +0100, Stephan Holl wrote:
> Jochen Topf <jochen at remote.org>, [20081201 - 11:15:21]
>
> > Hi!
> >
> > I have bunch of linestrings I want to show in one layer. Each
> > linestring should show up as a line on large scales and as a symbol
> > on small scales, because on the small scales the lines are too short
> > to see.
> >
> > I know how to do this with two layers: One LINE layer and one POINT
> > layer with the same underlying data.
> >
> > But I'd rather do this in one layer and use different CLASSes for the
> > different scales. But when I do this the symbols keep disappearing on
> > smaller scales, I guess because the linestrings get so short that
> > Mapserver decides to not draw them at all.
> >
> > Can this be done? Any ideas?
>
> Any reason why not GROUP two layers together and set the scale
> appropriate?
GROUPed layers are a bit different from normal layers. For instance it
seems I can't set keywords for grouped layers (No OWS_GROUP_KEYWORDLIST),
which is something I need for my application. I could probably change my
app to also work with nested layers but that looks like a lot of work. :-)
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the MapServer-users
mailing list