On Apr 13, 2011, at 5:31 PM, David Winslow wrote:

> Do you control the client? I imagine you could have it add a parameter with 
> its current scale.  I don't think that your SQL view has access to the scale 
> by default (what would happen for such a view when making WFS requests?)

Good point. We do have control over the client so likely we could do this if 
needed, thanks!

> 
> The offset filter function should work fine in CSS (though when I was looking 
> for an example I noticed none of the testcases exercise that functionality 
> so... no guarantees.) The syntax would be like this:
> 
> * { geometry: [offset(the_geom, 0.03, 0.03)]; }
> 
> It is free to reference other properties (except the @scale - that's magic 
> and only works in selectors) as well, and I find the CQL syntax a bit more 
> comfortable than OGC XML.

I want to do the equivalent of upgis_lineshift which shifts the lines based on 
their direction. i don't think I can achieve the same logic to change the 
direction of the offset as needed but I'l take a look. 

Thanks again,
charles



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to