Rép. : [ms4w-users] problems with Hatch
SIMON MERCIER
simon.mercier at msp.gouv.qc.ca
Fri Feb 8 14:40:45 EST 2008
hi
maybe you can try to add the ALPHA mode in your layer
...
TYPE POLYGON
DATA 'usi_civici.shp'
TRANSPARENCY ALPHA
METADATA
...
Or you can try to use an IMAGEMODE RGBA or de default png RGB?
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "GD/PNG"
EXTENSION "png"
IMAGEMODE RGBA
TRANSPARENT ON
END
good luck
Simon Mercier
Analyste en Géomatique
DTI - Service de l'infrastructure et du réseau
Direction des technologies de l'information
Ministère de la Sécurité publique
2525, boulevard Laurier, Tour du Saint-Laurent, 10e étage
Québec (QC) G1V 2L2
Téléphone : (418) 646-5687
Télécopie : (418) 643-0787
Courriel : simon.mercier at msp.gouv.qc.ca
>>> Eugenio Trumpy <frippe12573 at hotmail.com> 8/2/2008 12:57 >>>
Hi,
i'm new in this list.
I usually use mapserver in linux server, but now i'm changing one
application in ms4w.
Under linux server my file.map works fine and also the hatch symbols
are right with the trasparent.
Mapserver in window give me a problem. The hatch symbols has a white
color underground.
Which is the problem? How can i solve?
The part of my file.map is:
...
LAYER
NAME 'usi_civici'
TYPE POLYGON
DATA 'usi_civici.shp'
METADATA
'wms_title' 'usi_civici'
"DESCRIPTION" "Beni di uso civico"
"RESULT_FIELDS" "usi_civici"
"RESULT_HEADERS" "usi_civici"
END
STATUS DEFAULT
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
END
CLASS
NAME 'Beni di uso civico'
TEMPLATE void
STYLE
SYMBOL 'polygon_crosshatch_rightslant'
SIZE 6
OUTLINECOLOR 230 76 0
COLOR 255 0 0
END
END
END
end the definition of 'polygon_crosshatch_rightslant' in symbols.sym
is:
...
SYMBOL
NAME "polygon_crosshatch_rightslant"
TYPE vector
POINTS
0 2.5
2.5 0
END
END
Best regards
Eugenio
_________________________________________________________________
Scarica GRATIS le tue emoticon preferite!
http://intrattenimento.it.msn.com/emoticon/
_______________________________________________
ms4w-users mailing list
ms4w-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ms4w-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20080208/0aad2695/attachment.html
More information about the ms4w-users
mailing list