[ms4w-users] Hatching don't work

SIMON MERCIER simon.mercier at msp.gouv.qc.ca
Mon Apr 16 10:42:17 EDT 2007


Hi list
 
Is there somone try to hatching a polygon layer with MS4W?  I try and try ... and always get a complete fill polygons!  I begin to think that is a Windows problem?  it is possible? where can I search?
 
...tranparency work fiine ... but not hatching?
 
I try this to test
http://spssoww20t.sso.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=/ms4w/apps/sopfeu/feux.map&version=1.1.1&service=WMS&request=GetMap&srs=EPSG:32198&bbox=-880000,100000,800000,2100000&format=image/png&layers=RegionAdm&styles=,&transparent=true&width=800&height=600
 
Windows server 2003
MS4W v.2.2.2
 
My map file
...
  OUTPUTFORMAT
    NAME "png"
    MIMETYPE "image/png"
    DRIVER "GD/PNG"
    EXTENSION "png"
    IMAGEMODE RGBA
    TRANSPARENT ON
  END
...
  SYMBOL
    NAME 'hatch-lines'
    TYPE HATCH
  END
 
  LAYER
    NAME "RegionAdm"
    STATUS OFF
    DATA "e:\data\icg\igr\sda\region_s.shp"
    MINSCALE 500000
    TYPE POLYGON
    SIZEUNITS METERS
    DUMP TRUE
    TRANSPARENCY ALPHA
    METADATA
        "wms_name"              "RegionAdministrative"
        "wms_title"             "Région administrative"
        "wms_keywordlist"       "SDA Administrative"
        "wms_server_version"        "1.1.1"
        "wms_abstract"          "Région administrative du système de découpage administratif du québec"
        "wms_onlineresource"    "http://spssoww20t.sso.msp.gouv.qc.ca/cgi-bin/info_ctr_geo?"
        "wms_latlonboundingbox" "-880000 100000 800000 2100000" 
        "wms_srs"               "EPSG:42105 EPSG:4326 EPSG:4269 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150"   
        "wms_layer_group"       "/SDA"
    END    
    PROJECTION
      "init=epsg:32198" 
    END
    CLASS
      NAME "RegionAdm"
      STYLE
        SYMBOL 'hatch-lines'
       COLOR 255 0 0
        ANGLE 45
        SIZE 1
        WIDTH 2
      END
      STYLE
       COLOR -1 -1 -1
        OUTLINECOLOR 144 0 0
        SIZE 4
        SYMBOL 'circle'
        WIDTH 5
      END
    END
  END
 
Simon Mercier
Analyste en Géomatique
Service de l'infrastructure et du réseau
Direction des technologies de l'information
Ministère de la Sécurité publique 
2525, boul. Laurier, 10e étage
Québec (Québec) G1V 2L2
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20070416/12f3847d/attachment.html


More information about the ms4w-users mailing list