the quantity element define a sementation of the 1D space in intervals, therefore, despite the xml schema the the ColorMapEntry quantity parameters must be in increasing order. This is true for all the implementation I am aware of.
Aside, if you have two overlapping intervals and a value that falls right into the overlapping zone, how would you color it? Simone. ------------------------------------------------------- === Notice that our office phone number has recently changed! Please, update your records! === Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo ------------------------------------------------------- On Mon, Oct 4, 2010 at 5:29 PM, Luca Morandini <[email protected]> wrote: > On 10/04/2010 04:38 PM, Simone Giannecchini wrote: >> quantities MUST be in order, that is how the ColorMap works. > > Not to be prickly, but the SLD schema states that the order is not relevant > for > ColorMapEntry: > <xsd:choice minOccurs="0" maxOccurs="unbounded"> > <xsd:element ref="sld:ColorMapEntry"/> > </xsd:choice> > > ...otherwise it would have been a xsd:sequence, wouldn't it ? > > Regards, > > Luca Morandini > [http://www.lucamorandini.it] > > > ------------------------------------------------------------------------------ > Virtualization is moving to the mainstream and overtaking non-virtualized > environment for deploying applications. Does it make network security > easier or more difficult to achieve? Read this whitepaper to separate the > two and get a better understanding. > http://p.sf.net/sfu/hp-phase2-d2d > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
