<p dir="ltr"><br>
On 19 Nov 2015 1:50 AM, "Neumann, Andreas" <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I have a project where I display events:<br>
><br>
> * past events that are less than a week ago are displayed in light purple<br>
><br>
> * current events are displayed in red<br>
><br>
> * upcoming events within the next two weeks are displayed in orange<br>
><br>
> I use now() within my rules.<br>
><br>
> ----------------<br>
><br>
> Now my time-manger question:<br>
><br>
> I thought I could simulate a view of the "past" or "future" with the TimeManager plugin. But this doesn't work, because now() is still now() is not replaced by animation_datetime() - which would serve my purpose.<br>
><br>
> Is there a way to find out when time manager is active and when not - and then I could build two different rules:<br>
><br>
> - one normal rule with now() - only used when time manager is not active<br>
><br>
> - one rule with animation_datetime() - only used when time manager is active</p>
<p dir="ltr">What about :</p>
<p dir="ltr">  Coalesce (animation_datetime(), now())</p>
<p dir="ltr">Does that work?</p>
<p dir="ltr">Nyall</p>
<p dir="ltr">><br>
>  <br>
><br>
> Thanks,<br>
><br>
> Andreas<br>
><br>
>  <br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</p>