[ms4w-users] about SWFDUMPATTRIBUTES
Yewondwossen Assefa
assefa at dmsolutions.ca
Thu Dec 15 08:51:09 EST 2005
svidal at sarea.es wrote:
>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 ................
>
>
>
>
Yes. you can use SWFDUMPATTRIBUTES to specify any field name that are available in your layer.
>The "DESCRIPTION""Parks" is for ....?
>
>
>the "RESULT_FIELDS" "NAME_E YEAR_EST AREA_KMSQ" is for...?
>
>
>
>
>
>
These probably are in the the gmap demo map (?). They are used in the
gmap php application for the queries (to hold the field names of the
attribites the application presents when a query happens). They do not
mean anything in particular outside that context.
>_______________________________________________
>ms4w-users mailing list
>ms4w-users at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/ms4w-users
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the ms4w-users
mailing list