[ms4w-users] about SWFDUMPATTRIBUTES

svidal at sarea.es svidal at sarea.es
Thu Dec 15 03:14:14 EST 2005


This is my layer in map file

 LAYER # States polygon layer begins here
    NAME         areas
    CONNECTIONTYPE POSTGIS
    CONNECTION   "host=localhost dbname=pruebas user=postgres password=borin"
    #DATA         "geom from coor4"
    DATA 			"geom from (select coo.geom, coo.oid, fin.numero, 
fin.cod_vcp, coo.nombre from coor4 coo
								inner join fincas fin on coo.cod_finca = fin.cod_finca) as query"
    STATUS       ON
    TYPE         POLYGON



for see atributes in flash is need:

METADATA

"DESCRIPTION""Parks"

"RESULT_FIELDS" "NAME_E YEAR_EST AREA_KMSQ"

"SWFDUMPATTRIBUTES" "NAME_E,AREA_KMSQ "

END

the SWFDUMPATTRIBUTES must be fields that are in the select of the DATA i
think?

select coo.geom, coo.oid, fin.numero,  fin.cod_vcp, coo.nombre from coor4
coo ................


The "DESCRIPTION""Parks"  is for  ....?

the "RESULT_FIELDS" "NAME_E YEAR_EST AREA_KMSQ"  is for...?






More information about the ms4w-users mailing list