MapServer SLD RasterSymbolizer
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Tue Jul 25 10:46:39 PDT 2006
Yes, acceptable. Good idea!
> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of
> Yewondwossen Assefa
> Sent: Tuesday, July 25, 2006 11:02 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] MapServer SLD RasterSymbolizer
>
> Hi There,
>
> We could maybe use the label element in the ColorMapEntry
> if available and if not use the quantity value or the
> exprsssion to set the class name. In this case, the Rule
> Name value would not affect the classes created based on a
> raster symbolizer. Is this acceptable ?
>
> Later,
>
>
> Kralidis,Tom [Burlington] wrote:
> >
> > Sorry, meant one ColorMap per Rule :)
> >
> > -----Original Message-----
> > From: UMN MapServer Users List on behalf of
> Kralidis,Tom [Burlington]
> > Sent: Sat 22-Jul-06 11:01
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Cc:
> > Subject: Re: [UMN_MAPSERVER-USERS] MapServer SLD
> RasterSymbolizer
> >
> >
> >
> >
> > The OGC:SLD 1.0.0 schema allows for one ColorMap
> element with 0 or more ColorMapEntry elements.
> >
> > MapServer typically picks up Rule/Name and applies them
> as a legend title. For rasters, because of the way the
> schema is defined, I think MapServer should be picking up
> ColorMapEntry/@label when doing raster legends, but then what
> happens when someone creates a Rule/Name value earlier?
> >
> > ..Tom
> >
> >
> >
> > -----Original Message-----
> > From: UMN MapServer Users List on behalf of Van
> Ulden, Joost
> > Sent: Fri 21-Jul-06 18:57
> > To: MAPSERVER-USERS at lists.umn.edu
> > Cc:
> > Subject: [UMN_MAPSERVER-USERS] MapServer SLD
> RasterSymbolizer
> >
> >
> >
> > Hi all,
> >
> > I am unsure how the raster symbolizer is
> supposed to work in MapServer. Do I create one Rule in the
> SLD with one ColorMap that has one or more ColorMapEntries?
> Or can I create a rule for each ColorMapEntry? Either way
> works (works using a filter too!!!) but ColorMapEntries can't
> be given a name. It is preferable from my point of view to
> create a rule for each ColorMapEntry so that a decent legend
> can be generated.
> >
> > Thoughts anyone?
> >
> > Joost
> >
> >
> >
> >
>
>
> --
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
>
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
>
> Phone: (613) 565-5056 (ext 14)
> Fax: (613) 565-0925
> ----------------------------------------------------------------
>
More information about the MapServer-users
mailing list