[Gfoss] Atlante & $atlasfeatureid

Luca Lanteri mescal72 a gmail.com
Ven 19 Set 2014 11:50:17 CEST


Hi,

I'm using the gorgeous Atlante with Qgis 2.4. I've a polygon layer that
command atlante and one other point layer in 1-1 relation with the firs one
(using the PK_id field) that has a rule legend  where:
if $atlasfeatureid = $id use a simbol
else use another simbol.

Using this I can move from different layout (with defined zoom) and
highlight my point object.
However I have some problem to maintain the right connection from the 2
layer 'cause the $atlasfeatureid variable contain the current row number,so
it works fine only if the two table have the same order.

I read in [0] that  Natan is thinking to of adding a $altasfeature and then
a getattr($altasfeature, 'field') in order to acces to the table attribute
(and im my case to the FK_id).

Anyone know if this function yet implemented? And if it's "Yes" how can I
use it to solve my problem.

Thank in advance
Luca

[0]
http://nathanw.net/2013/12/02/waiting-for-qgis-22-highlighting-current-atlas-feature/
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20140919/780bcaaf/attachment.html>


Maggiori informazioni sulla lista Gfoss