[ka-Map-users] background transparency of a layer group

Manuel de la Calle Alonso mdelacalle at fomex.es
Wed Mar 14 16:12:19 EST 2007


Hi list, I´m triying to put some layers in KaMap and I have a problem 
with the layer transparency. When I asign a group to a layer, in this 
moment, this layer it´s not transparent. If I put the transparency level 
near 0, I don´t see the layer. How can I put the background of all layer 
groups as transparent??

My map file is:

 LAYER
        NAME "nurb"
        TYPE POLYGON

        STATUS ON
        CONNECTIONTYPE POSTGIS
        CONNECTION "host=127.0.0.1 dbname=cultura user=postgres 
password=postgres port=5432"
        DATA "the_geom from nurb using unique gid"
                TRANSPARENCY 35
                TEMPLATE "plantilla.html"
        DUMP TRUE
               
                CLASS
                     NAME 'nurb'
                    COLOR        196 16 16
                        OUTLINECOLOR    247 0 0
                END
        METADATA
                "queryable" "true"
                    "wms_name" "nurb"
            "wms_title" "Capa Núcleos Urbanos."
            #"wms_srs" opcional desde que las capas heredan el valor de 
SRS de MAP
            "gml_include_items" "toponimo"
        END
        PROJECTION
            "init=epsg:23030"
        END
    END #fin de la capa nurb
LAYER
        NAME "calzada"
        TYPE LINE
        STATUS ON
        GROUP "Via de la Plata"
        CONNECTIONTYPE POSTGIS
        CONNECTION "host=127.0.0.1 dbname=cultura user=postgres 
password=postgres port=5432"
        DATA "the_geom from calzada using unique gid"
                TRANSPARENCY 100
       
        TEMPLATE "plantilla.html"
        DUMP FALSE
               
                CLASS
                    NAME 'calzada'
                        OUTLINECOLOR    255 3 3
                END

        METADATA
   
                    "wms_name" "calzada"
            "wms_title" "Capa Calzada."
            #"wms_srs" opcional desde que las capas heredan el valor de 
SRS de MAP
            #"gml_include_items" "all"
        END
   
        PROJECTION
            "init=epsg:23030"
        END
    END #fin de la capa calzada


Thak you in advance
Best regards
 Manuel de la Calle



More information about the ka-Map-users mailing list