[mapserver-users] draw hatch pattern with image file (ex. gif, etc)

thomas bonfort thomas.bonfort at gmail.com
Thu Dec 16 01:59:44 PST 2010


if your image contains a hatch, yes, it's possible, although you can't
change the color.
if you want to create a hatch, use:

symbol
 name "hatch"
 type hatch
end

layer
...
 style
   symbol "hatch"
   color 0 0 0
   angle 45 #hatch orientation
   width 1  #line width
   size 10  #spacing between lines
 end
end

--
thomas

On Thu, Dec 16, 2010 at 10:46, Isao NASUNO <isao.nasuno at ctc-g.co.jp> wrote:
> Hello all,
>
> Is it possible to draw hatch pattern without symbol (vector)
> but using small image file which have tranparency like gif etc ?
> Layer type is polygon.
>
> ------------
>  :
> type polygon
>  :
> class
>  name "xxxxx"
>  expression "x"
>  color 255 200 200
>  style
>    image smallimage.gif   # <-- like this..
>  end
> end
> ------------
>
> Thanks,
>
> Isao NASUNO
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the MapServer-users mailing list