Re: [Geoserver-users] SLD styling for negative values

2014-09-04 Thread Andrea Aime
uot;percentage_change" <= 0.634205 > ) > OR ( > "percentage_change" > 0.634205 > AND "percentage_change" <= 1.0 > ) > ) > ) > > *Gesendet:* Donnerstag, 04. Septembe

Re: [Geoserver-users] SLD styling for negative values

2014-09-04 Thread Jan Peters
_change" <= 0.634205             )             OR (                 "percentage_change" > 0.634205                 AND "percentage_change" <= 1.0             )         )     )   Gesendet: Donnerstag, 04. September 2014 um 11:18 Uhr Von: "Andrea Aime" An: &qu

Re: [Geoserver-users] SLD styling for negative values

2014-09-04 Thread Andrea Aime
gresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353) >

Re: [Geoserver-users] SLD styling for negative values

2014-09-04 Thread Andrea Aime
On Thu, Sep 4, 2014 at 11:12 AM, Jan Peters wrote: > > Ok, I won't tust it. What is the most trustable software to create SLDs > btw? > uDig, generates valid SLD 1.0 files that also have GeoServer own extensions to the SLD syntax (instead of QGis, which does SLD 1.1, sometimes invalid, and with

Re: [Geoserver-users] SLD styling for negative values

2014-09-04 Thread Andrea Aime
On Thu, Sep 4, 2014 at 11:06 AM, Jan Peters wrote: > > Well, the double nested Literals is what QGis created automatically. > Eh, I would not trust QGis to generate SLDs GeoServer can interpret (and in this case, not even valid SLDs at all, regardless of what GeoServer can grok). Cheers Andrea

Re: [Geoserver-users] SLD styling for negative values

2014-09-04 Thread Andrea Aime
On Thu, Sep 4, 2014 at 10:57 AM, Andrea Aime wrote: > On Thu, Sep 4, 2014 at 10:46 AM, Jan Peters wrote: > >> to this: >> >> -0.828977 >> >> But this doesn't work either (Geoserver tells me that my SLD is not >> valid). I also reduced the number of rows in the PostGIS table to one and >> tried p

Re: [Geoserver-users] SLD styling for negative values

2014-09-04 Thread Andrea Aime
On Thu, Sep 4, 2014 at 10:46 AM, Jan Peters wrote: > to this: > > -0.828977 > > But this doesn't work either (Geoserver tells me that my SLD is not > valid). I also reduced the number of rows in the PostGIS table to one and > tried positive and negative values for the respective field, the error

[Geoserver-users] SLD styling for negative values

2014-09-04 Thread Jan Peters
Dear list, sorry for cross-posting (see also: http://tinyurl.com/nwxvew6) but I am stuck. I am trying to style negative values in Geoserver via SLD and would like to know how the syntax in SLD should look like to do this. What I have is the following:   ---snip---   trnsfrm_meta_outputmap   t