Qgis2threejs icon indicating copy to clipboard operation
Qgis2threejs copied to clipboard

[Question] programmatically saving 3D maps

Open derhoads opened this issue 7 years ago • 6 comments

Hi there,

I need to render a pretty large map with a lot of features. It's simply too big, but breaking it into chunks (tiles, let's say) works. To avoid opening the plugin GUI for each individual tile, I would prefer to access the plugin through pyqgis and do it programmatically with a loop.

I wanted to ask if anyone has done this, or possibly knows how to do this, before I start digging around in the source code to find the right way to make it work myself.

Thanks a lot, Daniel

derhoads avatar Sep 17 '18 11:09 derhoads

derhoads, there has been a few requests for this sort of feature in the past. I for one am very interested in getting something like this up and running.

Can you keep us abreast of any experiments that you do?

DigDigDig avatar Sep 17 '18 15:09 DigDigDig

Will do! Thanks

derhoads avatar Sep 18 '18 09:09 derhoads

This is possible in modern versions, both via Processing and Python:

  • https://qgis2threejs.readthedocs.io/en/docs/ExportUsingProcessingAlgorithm.html
  • https://qgis2threejs.readthedocs.io/en/docs/ExportProgrammaticallyUsingPython.html

kannes avatar Sep 28 '21 16:09 kannes

This is possible in modern versions, both via Processing and Python:

* https://qgis2threejs.readthedocs.io/en/docs/ExportUsingProcessingAlgorithm.html

* https://qgis2threejs.readthedocs.io/en/docs/ExportProgrammaticallyUsingPython.html

Both URLs result in: 404 Not Found as of 4/24/2024.

jlpoolen avatar Apr 24 '24 18:04 jlpoolen

Literally right on the homepage of the documentation: http://minorua.github.io/Qgis2threejs/docs/

  • http://minorua.github.io/Qgis2threejs/docs/ExportUsingProcessingAlgorithm.html
  • http://minorua.github.io/Qgis2threejs/docs/ExportUsingPython.html

kannes avatar Apr 24 '24 18:04 kannes

Literally right on the homepage of the documentation: http://minorua.github.io/Qgis2threejs/docs/

* http://minorua.github.io/Qgis2threejs/docs/ExportUsingProcessingAlgorithm.html

* http://minorua.github.io/Qgis2threejs/docs/ExportUsingPython.html

Great. Thank you. Now it is documented.

jlpoolen avatar Apr 24 '24 18:04 jlpoolen