On Thu, Mar 22, 2012 at 3:10 AM, Samuel Smith <sam...@groundlevel.ca> wrote:

> Hey List,
>
> (I'm really sorry if this is a duplicate. I posted it earlier, but I don't
> think my subscription options allowed me to post. Def, not bumping!)
>
> We're able to use an offset geometry transform in an SLD to produce a nice
> drop shadow, cool.
>
> The x and y distance of the offset is specified in map units, which means
> that the distance from feature to shadow "lengthens" as you zoom in.
>
> Is there a strategy, or combination of strategies to express this
> dynamically? So that as you zoom in, values for the offset are swapped in
> based on the map-units:pixels at any given scale?
>

Not at the moment. Three possible ways that involve code changes:
- to inject enough information in the "env" to do some math (but the math
would be in your face, directly in the SLD, and would have to involve
  different expressions based on the layer original spatial reference
system, which could be mixed in a multi-layer scenario)
- roll out some way to specify that the transformation has to happen in
pixel space (requires some design discussion and an approved
  proposal on the gt-devel ml)
- for the specific case of the offset one, implement the native support in
SE 1.1

You can either do it yourself or contract out the work to the organizations
providing commercial support
for GeoServer (http://geoserver.org/display/GEOS/Commercial+Support)

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to