[Qgis-user] Velocity field rendering using PyQGIS

2024-07-02 Thread afernandez via QGIS-User
Hello, I need to programmatically render a velocity field. The closest example that I was able to find is https://opengislab.com/blog/2020/10/10/wind-vector-mapping-and-animation-in-qgis although I don't need the animation feature. The problem is that, even after reading the DeveloperCookbook, I'm

[Qgis-user] Issues installing QGIS via conda

2023-03-22 Thread afernandez via QGIS-User
Hello, I'm trying to install QGISv3.30 via conda (have tried miniconda and anaconda) but, after installing QGIS and all dependencies, QGIS doesn't find the GL library (I checked and it's not in any subdirectory) (qgis_stable) ubuntu@ip-172-31-28-50:~$ qgis qgis: error while loading shared librarie

Re: [Qgis-user] Issues installing QGIS via conda

2023-03-22 Thread afernandez via QGIS-User
, Can you please share the outputs of the following commands (in your qgis_stable environment) conda list And conda info Best regards, Alexandre Neto User Support www.qcooperative.net <http://www.qcooperative.net> A quarta, 22/03/2023, 20:02, afernandez via QGIS-User mailto:qgis-user@lists.osg

Re: [Qgis-user] Issues installing QGIS via conda

2023-03-23 Thread afernandez via QGIS-User
list And conda info Best regards, Alexandre Neto User Support www.qcooperative.net <http://www.qcooperative.net> A quarta, 22/03/2023, 20:02, afernandez via QGIS-User mailto:qgis-user@lists.osgeo.org> > escreveu: Hello, I'm trying to install QGISv3.30 via conda (have tried minico

[Qgis-user] How to control image exporter size (with QSize)

2024-02-25 Thread afernandez via QGIS-User
Hello, I'm using the image exporter to create PNG files. Everything looks good but the files must have a resolution of 1,200 pixels in the horizontal direction. The snippet to create the image file reads: exporter = QgsLayoutExporter(layout) png_name = '/home/ubuntu/output/testing.png' exporter.ex

[Qgis-user] How to modify (individual) marker properties for a vector layer with many points

2024-03-11 Thread AFernandez via QGIS-User
Hello, My code is using the following snippet to plot a vector layer: vl = QgsVectorLayer("Point", "RadiusField", "memory") pr = vl.dataProvider() pr.addAttributes([QgsField("name", QVariant.String), QgsField("radius", QVariant.Double)])

[Qgis-user] Difference between QgsMarkerSymbol and QgsMarkerSymbolLayer

2024-03-28 Thread afernandez via QGIS-User
Hello, I've been using QgsMarkerSymbol but I'd like to understand how to implement QgsMarkerSymbolLayer. I followed the cookbook example (definingt the class FooSymbolLayer) but I don't know how to use an object (defined by this class). Is there any available example or could anyone share some exp

Re: [Qgis-user] Available sizes for QgsLayoutItemPage

2025-02-25 Thread afernandez via QGIS-User
I was looking for the one with the highest aspect ratio, which is 1080 x 1920 px and seems to be working well for my purposes. Thank you for the help. David Strip wrote: On 2/25/2025 10:26 AM, afernandez via QGIS-User wrote: This tells me that there're 32 preloaded pages but I still canno

[Qgis-user] Available sizes for QgsLayoutItemPage

2025-02-25 Thread afernandez via QGIS-User
Hello,I'm trying to figure out the available page sizes and their properties. According to the API reference - QgsLayoutItemPage.setPageSize: "Sets the page size to a known page size, e.g. “A4” and orientation. The known page sizes are managed by QgsPageSizeRegistry. Valid page sizes can be retr