Hi David,

thank you very much for your help!  Your suggestion worked very well for me!

Regards,
Nina


> -----Ursprüngliche Nachricht-----
> Von: "Fawcett, David" <[email protected]>
> Gesendet: 06.10.09 16:24:45
> An:     <[email protected]>
> 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/

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to