Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Luca Morandini
On 10/04/2010 05:29 PM, Luca Morandini wrote: > > Not to be prickly, but the SLD schema states that the order is not relevant > for > ColorMapEntry: > > > > > ...otherwise it would have been a xsd:sequence, wouldn't it ? Well, I have to correct myself: "xsd:sequence" won't be of any assi

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Simone Giannecchini
tell me about it! At the time (good old times when i was writing code instead of proposals) I had to chase the guy who wrote the spec on the wms-dev list! Simone. --- === Notice that our office phone number has recently changed! Please, update y

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Luca Morandini
On 10/04/2010 05:48 PM, Simone Giannecchini wrote: > the quantity element define a sementation of the 1D space in > intervals, therefore, despite the xml schema You're right, the SLD 1.0.0 standard states <<...and the ColorMap entries should be in order of increasing numeric quantity so that inter

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Simone Giannecchini
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 fall

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Luca Morandini
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: ...otherwise it would have been a xsd:sequence, wouldn't it ? Regards, Luc

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Simone Giannecchini
quantities MUST be in order, that is how the ColorMap works. 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

[Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Robert Buckley
Thanks for the replies...I have simplified the sld to try and debug it. There are now no "()", "<" or ">". It still validates ok, but still gives "code = "internal error" org.vfny wms exception etc" http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld";

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread JoaquĆ­n Rodriguez-Guerra Urcelay
:04 Para: geoserver-users@lists.sourceforge.net Asunto: Re: [Geoserver-users] SLD Problem. is this valid? On 10/04/2010 03:32 PM, Robert Buckley wrote: > Hi, > > According to the validity check in Geoserver this sld is valid, but when I try > to render it I get an error. I beg to dif

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Luca Morandini
On 10/04/2010 03:32 PM, Robert Buckley wrote: > Hi, > > According to the validity check in Geoserver this sld is valid, but when I try > to render it I get an error. I beg to differ from the validity checker, since this SLD contains: ---^ "<" is a

[Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Robert Buckley
Hi, According to the validity check in Geoserver this sld is valid, but when I try to render it I get an error. It could be do to with the fact that the quantities do not flow from 1-10 in numerical order. Is this then invalid SLD? http://www.opengis.net/sld StyledLayerDescriptor.xsd" xm

Re: [Geoserver-users] SLD Problem. is this valid?

2010-10-04 Thread Alessio Fabiani
As a first very quick look it seems ok to me ... May be you need to escape characters on labels? Alessio. --- Ing. Alessio Fabiani Founder / CTO GeoSolutions S.A.S. GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phon