[mapserver-users] WMS GetFeatureInfo beyond scale
seis4web at web.de
seis4web at web.de
Wed Oct 7 04:58:18 PDT 2009
Hi David,
thank you very much for your help! Your suggestion worked very well for me!
Regards,
Nina
> -----Ursprüngliche Nachricht-----
> Von: "Fawcett, David" <David.Fawcett at state.mn.us>
> Gesendet: 06.10.09 16:24:45
> An: <mapserver-users at lists.osgeo.org>
> Betreff: RE: [mapserver-users] WMS GetFeatureInfo beyond scale
> Nina,
>
> I guess that your data was more complex than I originally assumed.
>
> Would it be possible to create one layer with classes that incorporated both the scale and magnitude?
>
> Something like:
>
> LAYER
>
> CLASS # low-res, low magnitude
> MAXSCALEDENOM 10000000
> MINSCALEDENOM 4000000
> EXPRESSION ([mag] > 3 AND [mag] < 3.499)
> END
>
> CLASS # low-res, high magnitude
> MAXSCALEDENOM 10000000
> MINSCALEDENOM 4000000
> EXPRESSION ([mag] > 3.5 AND [mag] < 3.999)
> END
>
> CLASS # medium-res, low magnitude
> MAXSCALEDENOM 4000000
> MINSCALEDENOM 1000000
> EXPRESSION ([mag] > 3 AND [mag] < 3.499)
> END
>
> CLASS # medium-res, high magnitude
> MAXSCALEDENOM 4000000
> MINSCALEDENOM 1000000
> EXPRESSION ([mag] > 3.5 AND [mag] < 3.999)
> END
>
> CLASS # high-res, low magnitude
> MAXSCALEDENOM 1000000
> EXPRESSION ([mag] > 3 AND [mag] < 3.499)
> END
>
> CLASS # high-res, high magnitude
> MAXSCALEDENOM 1000000
> EXPRESSION ([mag] > 3.5 AND [mag] < 3.999)
> END
>
> I haven't thought too much about it, so I can't promise that it will do what you need.
>
> David.
>
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
More information about the MapServer-users
mailing list