My use case might be different, but here is what I want to do (i just revisited 
this and still can't figure it out).

I have more than one geometry per row (lets say 2 linestrings) and want to 
visualize them both and differently.  If the answer is to return a row for each 
one with a different attribute to filter on, that's fine.

charles

On Apr 2, 2012, at 9:53 AM, David Winslow wrote:

> Barring any bugs (I haven't used this since I implemented it) this should 
> work in CSS:
> 
> * {
>   mark-geometry: [the_point_property];
>   fill-geometry: [the_polygon_property];
> }
> 
> [@scale > 100000] {
>    mark: symbol('circle');
> }
> 
> [@scale < 100000] {
>    stroke: black;
>    fill: grey;
> }
> 
> Please let me know if you run into problems with it.
> 
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> 
> On Mon, Apr 2, 2012 at 9:48 AM, Charles Galpin <[email protected]> wrote:
> Haha, you beat me to it!  I tried this once and couldn't get it to work so 
> I'd love to see this too (and I'm also a big fan of the CSS module).
> 
> Thanks,
> charles
> 
> On Apr 2, 2012, at 9:46 AM, Chris Haste wrote:
> 
>> Thank you David,
>>  
>> Ok, as an avid fan of your CSS module my next question would be is this 
>> possible via CSS? ;-)
>>  
>> Brgrds,
>>  
>> Chris
> 
> 

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to