Hi Fernando,
You can find some examples of how to do it in our symbology catalogue at
http://aadc-maps.aad.gov.au/aadc/symbology. Do a search for 'stipple' or
'grass' and you'll be able to download an SLD for any of the results.
The tabbed pages are acting up a bit so if you do a search and it ends
up on the wrong page you should be able to get back to it by clicking
the appropriate tab.
Regards,
Miles
-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On
Behalf Of Andrea Aime
Sent: Monday, 21 May 2007 11:16 PM
To: Fernando Montanari
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD [Sec=Unclassified]Fernando Montanari ha scritto:
> hi all
>
> im trying to fill a polygon with dashed lines with this
standard 4.0
> 4.0
> 2.0 4.0. But i dont know if it is possible, all i can do is
to use this
> standard for the outline with <sld:CssParameter
name="stroke-dasharray">
> 4.0 4.0 2.0 4.0</sld:CssParameter>.
> here is an extract of my .sld
> <sld:Fill>
> <sld:CssParameter
name="fill">#ECE9D8</sld:CssParameter>
> <sld:CssParameter
name="fill-opacity">1.0</sld:CssParameter>
> <sld:CssParameter name="fill-dasharray">4.0 4.0 2.0
> 4.0</sld:CssParameter>
> </sld:Fill>
>
> instead of "stroke" i use "fill", but is doesn't work. someone know
> how
> to solve it?That's not in the SLD spec, so you can't do it that way.
You have to prepare an image (png, gif) that has the pattern,
in a way that putting togheter copies of these images in a
tiling the result is seamless (that is, you don't see any
discontinuity at tile borders).Cheers
Andrea--------------------------------------------------------------
-----------
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/
_______________________________________________
Geoserver-users mailing list Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
___________________________________________________________________________
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________