[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] 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

[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] 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

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

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

[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