I pulled the code for the actual translation process into the geoscript
Scala variant a month or so ago, so it's hosted on github with the rest of
that project. However, I don't think you'll need to dig into it just yet
since displacement is
there<http://github.com/dwins/geoscript.scala/blob/geocss/geocss/src/main/scala/Translator.scala#L449>but
undocumented.
For a line placement with offset:
* {
label: [foo];
label-offset: 10px;
}
For a point placement with anchor point, offset and rotation:
* {
label: [foo];
label-offset: 10px 10px;
label-anchor: 25% 25%;
label-rotation: 45deg;
}
If you're still itching to provide a patch, this is missing from the
documentation. All of these properties should be included in the main
properties list at
http://docs.geoserver.org/stable/en/user/community/css/properties.html; a
patch for the Sphinx sources would be greatly appreciated.
--
David Winslow
OpenGeo - http://opengeo.org/
On Thu, Sep 16, 2010 at 11:56 AM, Ian Turton <[email protected]> wrote:
> Am I overlooking something or is there no way to displace my road
> labels in a CSS generated style?
>
> If it is missing where should I look for the code so I can see if I can add
> it?
>
> Cheers
>
> Ian
>
> --
> Ian Turton
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users