On Mar 4, 2011, at 10:37 AM, David Winslow wrote:

> On Fri, Mar 4, 2011 at 10:26 AM, Charles Galpin <[email protected]> wrote:
> David, it appears to work ok, but I have run into two issues so far
> 
> 1. When I used a layer based off a sql view, the data tab didn't show 
> attributes from a join. I have not tried to see if I can use this layer 
> regardless, but thought I'd point that out.
> This sounds like something I can/should fix, could you file a bug report so I 
> don't forget about it?

Certainly, GEOS-4412.  I have confirmed it has no effect on the preview or 
styling, just the data tab, but since this module generates SLD that makes 
sense.

>   
> 2. Using a select of [data_type != 'Historical'] I get the error "Constructor 
> function not defined at data_type != 'Historical'". I can do [data_type = 
> 'Historical'] though.
> The selectors use CQL syntax - see 
> http://docs.codehaus.org/display/GEOTOOLS/ECQL+Parser+Design . Your filter 
> should work if you use [data_type <> 'Historical'].

Ok, I saw that it was CQL but then kept reading and the filter syntax page 
lists this as a valid operator

http://docs.geoserver.org/stable/en/user/community/css/filters.html

Do you want a bug report for docs? I want to say some of the style values are 
missing too, like round for a stroke-linecap property value.

http://docs.geoserver.org/stable/en/user/community/css/properties.html

Oh, Initially using <> was giving errors, but the css inheritance effectively 
allows me to not need it. I Just went and tried and it worked, so not sure what 
I was doing wrong earlier.

>  
> But very much liking this so far if I can get my rules implemented!
> 
> Excellent, keep me posted :)

This tool is AWESOME in every respect.

1. You get immediate feedback on syntax errors and generated SLD
2. When you submit you get a preview
3. I went form 1500 lines of xml to 75, over 10 of which are comments :)

I would be great if this became a more integrated part of Geoserver. The only 
thing missing right now is that you don't get any indication on the SLD Style 
editor page that you have a css style defined for this style, but I assume this 
would require a core change. But if this were a core feature you could switch 
between the standard editor and the css one.

Anyway, thanks a lot, this is going to make maintenance of styles so much 
easier. And with the more compact notation I can do things like increase the 
granularity of the changes at different scales without cutting and pasting 
hundreds of lines of xml.

charles




------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to