[Qgis-user] 3D map scripting
Martin Dobias
wonder.sk at gmail.com
Mon May 20 08:22:35 PDT 2019
Hi Darrel
On Fri, May 17, 2019 at 4:03 PM Darrel Maddy
<darrel.maddy at newcastle.ac.uk> wrote:
> I am happy with the views I am creating manually now and I have been looking for a way to automate this process (as I do not want to prepare 7000 frames individually). Can this be done in scripting? Or is there a macro type facility that at least would ease the pain ?
>
> I am happy to write the code (in Python) if there is a way to access the 3d map window. It also appears that the settings cannot be saved i.e. any changes to the default view – again anyway to keep this persistent would be welcome. Maybe I am just missing something obvious?
Currently there is only limited API support for 3D map views. For
example, you can set 3D renderers for your vector layers, but some
functionality is not available in Python (like access to the 3D map
view or creation of "offline" 3D renderer that would allow you to
trigger 3D rendering upon request).
Can you explain in a bit more detail what are the bits you would like
to modify for every new frame? How are the 7000 data overlays
represented? I may have some time to make the necessary API
functionality available in QGIS 3.8 which will be out soon.
Cheers
Martin
More information about the Qgis-user
mailing list