Re: [Qgis-user] Accessing temporal controller stuff via the python console

2022-01-16 Thread Nyall Dawson
On Mon, 17 Jan 2022 at 10:46, Cory Albrecht  wrote:
>
> Thanks for the pointer, but unfortunately it is incomplete. It tells me this:
>
> # get the current  responsible for the mapCanvas behaviour and Temporal 
> Controller gui
> navigator = iface.mapCanvas().temporalController()
>
> And a few other methods for that object, but it's all about mimicking the 
> "Save Animation" button with no explanation how to choose a specific frame or 
> even anything as simple as going forward or backward by a single frame. Is 
> there no list anywhere of all that temporal controller object's methods?

Yes, in the usual place (the PyQGIS API reference):

 https://qgis.org/pyqgis/master/core/QgsTemporalNavigationObject.html

Nyall

>
>
>
> On Sun, Jan 16, 2022 at 3:40 PM Delaz J  wrote:
>>
>> Hi Cory,
>>
>> I don't know if it's still compatible with API and of any help, but there's 
>> that stale pull request in the docs by Richard 
>> (https://github.com/qgis/QGIS-Documentation/pull/5521) you might want to 
>> look at.
>>
>> Regards,
>>
>> Harrissou
>>
>> Le 16/01/2022 à 18:34, Cory Albrecht a écrit :
>>
>> Hello,
>>
>> Is there a way I can access and change/set stuff for the dynamic temporal 
>> controller programmatically in python? I'm looking to make a simple script 
>> that I can just cut and paste into the python console that will change the 
>> current frame of the DTC to a given timestamp, export the canvas to a PNG, 
>> and repeat for all the timestamps in an array.
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Accessing temporal controller stuff via the python console

2022-01-16 Thread Cory Albrecht
Thanks for the pointer, but unfortunately it is incomplete. It tells me
this:

# get the current  responsible for the mapCanvas behaviour and
Temporal Controller gui
navigator = iface.mapCanvas().temporalController()

And a few other methods for that object, but it's all about mimicking the
"Save Animation" button with no explanation how to choose a specific frame
or even anything as simple as going forward or backward by a single frame.
Is there no list anywhere of all that temporal controller object's methods?



On Sun, Jan 16, 2022 at 3:40 PM Delaz J  wrote:

> Hi Cory,
>
> I don't know if it's still compatible with API and of any help, but
> there's that stale pull request in the docs by Richard (
> https://github.com/qgis/QGIS-Documentation/pull/5521) you might want to
> look at.
>
> Regards,
>
> Harrissou
> Le 16/01/2022 à 18:34, Cory Albrecht a écrit :
>
> Hello,
>
> Is there a way I can access and change/set stuff for the dynamic temporal
> controller programmatically in python? I'm looking to make a simple script
> that I can just cut and paste into the python console that will change the
> current frame of the DTC to a given timestamp, export the canvas to a PNG,
> and repeat for all the timestamps in an array.
>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Accessing temporal controller stuff via the python console

2022-01-16 Thread Delaz J

Hi Cory,

I don't know if it's still compatible with API and of any help, but 
there's that stale pull request in the docs by Richard 
(https://github.com/qgis/QGIS-Documentation/pull/5521) you might want to 
look at.


Regards,

Harrissou

Le 16/01/2022 à 18:34, Cory Albrecht a écrit :

Hello,

Is there a way I can access and change/set stuff for the dynamic 
temporal controller programmatically in python? I'm looking to make a 
simple script that I can just cut and paste into the python console 
that will change the current frame of the DTC to a given timestamp, 
export the canvas to a PNG, and repeat for all the timestamps in an array.


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Accessing temporal controller stuff via the python console

2022-01-16 Thread Cory Albrecht
Hello,

Is there a way I can access and change/set stuff for the dynamic temporal
controller programmatically in python? I'm looking to make a simple script
that I can just cut and paste into the python console that will change the
current frame of the DTC to a given timestamp, export the canvas to a PNG,
and repeat for all the timestamps in an array.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] (no subject)

2022-01-16 Thread Nicolas Cadieux
Hi,

You may need to expand a bit on what you mean by “react map”. 

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 15 janv. 2022 à 13:23, takunda chitambure  a 
> écrit :
> 
> 
> I would like to ask how I can create a react map using qgis
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user