Normally, in the SLD I refer to the geometry as a layer property:

<Geometry><ogc:PropertyName>the_geom</ogc:PropertyName></Geometry>

Could I specify a function here to use the lineshift function? David

On 2/8/2012 4:13 PM, Charles Galpin wrote:
> David I use the upgis_lineshift function from
>
> http://trac.osgeo.org/postgis/wiki/UsersWikiplpgsqlfunctions
>
> for this sort of thing. The trick is to be able to tell what to shift, and 
> use a different distance between the lines based on zoom level.
>
> hth
> charles
>
> On Feb 8, 2012, at 4:07 PM, David R Robison wrote:
>
>> We are trying to draw interstate roadways that have lines for each
>> direction of travel. When zoomed in you can see the individual travel
>> directions (e.g. east and west bound lanes). However, when zoomed out
>> the directional roads are drawn on top of each other. What we want to do
>> is to draw the road ways with a minimal separation between then even
>> when zoomed out. Kind of like what Google maps does when showing traffic
>> colors. When zoomed out you still see the different roadways for the
>> different travel directions. Any thoughts on how to do this with
>> geoserver? David

-- 

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: [email protected]
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526



This email communication (including any attachments) may contain confidential 
and/or privileged material intended solely for the individual or entity to 
which it is addressed.
If you are not the intended recipient, please delete this email immediately.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to