[Geoserver-users] MapServer equivalent of offset in WMS ?

Hi,

The MapServer map has support in the style section for an x,y offset when plotting a shape. Is there some similar support in WMS or SLD that does this? I haven’t noticed anything suggesting this. Here is a sample portion from a MapServer map.

CLASS

NAME “background”

MINSCALE 100000
MAXSCALE 300000
STYLE
SYMBOL “cartoline”
COLOR 0 0 0
SIZE 1
OFFSET -5 -99
ANTIALIAS true
END
END
CLASS

Thanks, S.D.


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

I don't believe so. The only offset / displacement that is supported in
SLD appears to be with labels.

-Justin

Samuel Doyle wrote:

Hi,

The MapServer map has support in the style section for an x,y offset
when plotting a shape. Is there some similar support in WMS or SLD that
does this? I haven't noticed anything suggesting this. Here is a sample
portion from a MapServer map.

CLASS
      # NAME "background"
         MINSCALE 100000
         MAXSCALE 300000
         STYLE
            SYMBOL "cartoline"
            COLOR 0 0 0
            SIZE 1
            OFFSET -5 -99
            ANTIALIAS true
         END
      END
     CLASS

Thanks, S.D.

------------------------------------------------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
<http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy&gt;
!DSPAM:4007,466f60d995271628642973!

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

!DSPAM:4007,466f60d995271628642973!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,466f60d995271628642973!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Justin Deoliveira ha scritto:

I don't believe so. The only offset / displacement that is supported in
SLD appears to be with labels.

Yep, just checked. The SLD spec has no provision for offsets in the
point symbolizers.

See also my answer to Mike Frumin about issues on extending the SLD
syntax (i.e., that's a lot of work).

Cheers
Andrea