Hi,

This METADATA tag is useful for "heavy views" (or join). It allow the 
use of:

- a "simple" table to draw, query graphically, etc... For instance 
something like that:
LAYERS
     METADATA
         PM_RESULT_DATASUBSTITION "the_geom FROM my_geom_table USING 
UNIQUE gid"
         ...
     END
     ...
END

- a view when searching by attribute, displaying results, etc...For 
instance something like that:
LAYERS
     DATA "the_geom FROM (SELECT *  FROM my_geom_table LEFT JOIN 
my_attribute_table ON (id)) AS foo USING UNIQUE gid"
END

It requires that the "simple table" taht contains the geometry field has 
also all the attributes needed for drawing (CLASSITEM, LABELITEM, ...)

It is not specify to graphical queries plugin.

Thomas


Le 01/05/2012 16:31, Andreas Douvalis a e'crit :
> Hi
>
> What is the use of PM_RESULT_DATASUBSTITION metadata in graphical queries 
> plugin?
>
>   In queryExtended.php in line 82 (approximately) there is one loop that 
> check PM_RESULT_DATASUBSTITION metadata. 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users

-- 


Thomas RAFFIN
Chef de Projet Internet
traf...@sirap.fr <mailto:traf...@sirap.fr>      Sirap <http://sirap.fr>         
Tel 
: 04 75 72 84 10
Fax : 04 75 70 07 98
Rue Paul Louis He'roult - BP 253
26106 Romans cedex

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to