> What about : 
> 
> Coalesce (animation_datetime(), now()) 
> 
> Does that work?

So I tested COALESCE(animation_datetime(), now()) - and it doesn't work
for two reasons: 

- for layers that are not under time manager control,
animation_datetime() doesn't return NULL, but returns as invalid
expression ;-( 

- Similar, if a layer is under time manager control - if one stops time
manager - animation_datetime() is not set to NULL, but still holds some
time value 

--------------- 

So to fix this - we would have to: 

- always return a valid expression for animation_datetime() - even for
layers not under TimeManager control. It should return NULL in this case


- return NULL for animation_datetime() when TimeManager is not active -
also for layers under TimeManager control. 

Andreas 
  
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to