Questions tagged [pyqgis]

Use for the python library that applies to the Qgis GIS program.

Python bindings for the Qgis GIS program. Example code and descriptions can be found at https://docs.qgis.org/3.10/en/docs/pyqgis_developer_cookbook/index.html

170 questions
0
votes
0 answers

Is there a way to calculate balances of products between countries based on nearest neighbor?

I created a dataset with the capacity and production of a product per country. I am interested in calculating the balances between these different countries. For example, France has a positive balance of 50, Belgium a balance of 10, and Germany a…
0
votes
1 answer

QGIS 3 broken/disabled python

I am encountering major Python issues with QGIS 3. I was attempting to install 3rd party libraries from OS4GEO shell. Steps are: 1- Run shell as admin; 2- py3_env; 3- pip install scikit-learn I was getting bugs there so I un-installed QGIS and…
-1
votes
1 answer

Optimizing script

I am working with high resolution raster data on a enormous land cover. I have achieved what I set out to (in terms of script result) and it works very well on a small raster file, however when applying it to a big raster file it takes ages. The…
-1
votes
1 answer

I am not able to use machine learning model in QGIS

I have trained a machine learning model and saved it as an hdf5 file model.save('landcover_100_epochs_RESNET_backbone_batch16.hdf5') Now when I try to load the model in jupyter notebook, it works without errors from keras.models import…
Vanshika
  • 1
  • 6
-1
votes
1 answer

Python 3: How to combine values from a csv and append them to a new csv depending on a key value

I have a .csv table that looks like this: original csv I want to get a new .csv data that looks like this: new csv I already got to the point that I have the second csv with the unique values of the SITENAMES in the first column, but now I'm…
Tim
  • 101
  • 1
1 2 3
11
12