[mapserver-users] one layer over another

Vladimir Guzmán vguzman at bigfoot.com
Thu Apr 18 13:36:15 EDT 2002


Patricio:
I use polygon hatch this way (and it works perfect for me):

In the .map file:

LAYER
   NAME "cobertura"
   TYPE POLYGON
   STATUS ON
   DATA cubrimiento
   TOLERANCE 5
   CLASSITEM 'Nombre'
   CLASS
     EXPRESSION /./
     OUTLINECOLOR 0 102 0
     COLOR 102 102 102
     SYMBOL diagonal_hash
     TEMPLATE "ttt"
   END
END # Cobertura

And in the symbol file:
----------------------

Symbol
   Name 'diagonal_hash'
   Type VECTOR
   Points
     3 3
     3 3
   END
END #diagonal_hash


Hope that helps,


-- 
Vladimir Guzmán R.
-----------------
www.main-task.com


Patricio Gigoux wrote:

> I think the same, but I have troubles with symbols because ms don't take me 
> .gif, do you know if I can define symbols as .png?
> 
> thanks
> 
> 
> El Jue 18 Abr 2002 07:25, Stepan Kafka escribió:
> 
>>There are two ways to allow this in MS:
>>
>>1. Using hatched symbols or only outlines for polygon fills (see
>>mapfile/symbolset documentation page)
>>2. Using TRANSPARENCY parameter to set the layer semi-transparent (also can
>>be found in documentation)
>>
>>Stepan
>>
>>
>>>-----Pùvodní zpráva-----
>>>Od: owner-mapserver-users at lists.gis.umn.edu
>>>[mailto:owner-mapserver-users at lists.gis.umn.edu]za uživatele Patricio
>>>Gigoux
>>>Odesláno: 17. dubna 2002 23:16
>>>Komu: mapserver-users at lists.gis.umn.edu
>>>Pøedmìt: [mapserver-users] one layer over another
>>>
>>>
>>>I need show 2 layer, where I can view one over other one, but
>>>when I do it I
>>>can't watch the layer rear, both are polygon, and I need wahtch both
>>>Is there something that allow me set transparent one of them?
>>>
>>>Thanks in advance
>>>
>>>Patricio
>>>
> 
> 





More information about the mapserver-users mailing list