[mapserver-users] Display of a layer with a HATCH STYLE

Jean Somers jean.somers at cocopaq.com
Mon May 13 00:41:39 PDT 2013


Hi,

I want a hatch style for a polygons layer.

I used that code:

CLASS
 NAME 'Protection des eaux potables et minérales(AS1)- périmètre 
immédiat'
 EXPRESSION /^AS1_I$/
 STYLE
  SYMBOL "hachure"
    COLOR 0 0 0
    SIZE 10
    WIDTH 3
    ANGLE 45
    PATTERN 20 10 10 10 END
  #SYMBOL ./etc/symboles/plu_as1_A.png
 END

but  it displays nothing.

The code works when used with a standard style, but fails when I use a 
hatchsymbol style.

Could you tell me where I fail?

PS: You can find the whole failing code as attachment in the 
PLU_SUP_AS_new.map file.
The PLU_SUP_AS_old.map file is working.

Jean Somers - SIG 
Communauté de Communes du Pays de Quimperlé (COCOPAQ)
3, rue Eric Tabarly - Kervidanou 4 - 29394 Quimperlé Cedex
Tel : 02.98.35.09.40 (09.49) - Fax : 02.98.35.09.41
e-mail :  jean.somers at cocopaq.com 
www.cocopaq.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130513/d489ef89/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plu_SUP_AS_new.map
Type: application/octet-stream
Size: 2217 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130513/d489ef89/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plu_SUP_AS_old.map
Type: application/octet-stream
Size: 2122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130513/d489ef89/attachment-0001.obj>


More information about the MapServer-users mailing list