Linked Questions

4 votes
2 answers
5k views

Processing multiple files simultanously using python

I have 11000 point shapefiles to run Near tool on against another point shapefile. I am looking for a way to process 10 files at the same time. Is there a way to process so many files using Python ...
GeoMeteoMe's user avatar
2 votes
2 answers
477 views

Clip lines to grid using pyQgis

I have created a regular grid of (square) polygons using Processing->Create grid. I would now like to iterate over my grid squares and clip an underlying road network within each grid square. I can do ...
Glenn Geers's user avatar
1 vote
2 answers
4k views

Clip, or intersect, lines to polygon with QGIS

On QGIS 2.16.2, I have a polygon layer of states and a line layer of streets. What I want is all streets that lie within a certain state, either as an additional attribute or as a sub-layer. In the ...
KarlKlammer's user avatar
9 votes
1 answer
2k views

Is it possible to do parallel processing in GDAL and QGIS?

It seems like processing a large raster dataset in QGIS can cause a crash, for example in QGIS failing to complete clip or intersect and crash dump in qgis. Is it possible to use GDAL parallel ...
HMadadi's user avatar
  • 1,024
6 votes
2 answers
2k views

Python and QGIS multiprocessing documentation?

Where can we find better documention for python QGIS multiprocessing. Especially regarding the multiprocessing of python and QGIS.
Rajagopal Vajja's user avatar
6 votes
3 answers
627 views

How to run qgis scripts in parallel across remote server(s)

I have a stand alone python script using qgis that I wrote with the help of the SE question here The script takes three arguments being; an input file path, an output file path, and another input ...
Mr Purple's user avatar
  • 1,441
2 votes
1 answer
803 views

Why does the QgsFeatureIterator crash in my stand alone script?

I'm trying to write a standalone script in qgis 2.10 in ubuntu I have written a script which crashes when I run from bash but works fine from inside the qgis desktop environment. The script is: #!/...
Mr Purple's user avatar
  • 1,441
20 votes
2 answers
18k views

Accessing QGIS processing with PyQGIS

I want to access the explode lines function in Python outside of QGIS from a standalone script. What module do I have to load in order to use it? How can I access processing? from qgis.core import * ...
ustroetz's user avatar
  • 7,914
10 votes
2 answers
2k views

Will core functions in QGIS exploit multi-threading?

After reading Enabling multithreaded processing in QGIS?, I was wondering if QGIS 2.6 will include this when running various processes. I checked online and I could only find that multi-threaded ...
Joseph's user avatar
  • 75k
3 votes
1 answer
2k views

arcpy with multiprocessing throws "UnpickleableError: Cannot pickle <type 'geoprocessing Layer object'> objects"

I'm attempting to speed up a process which is currently running synchronously, by using the python multiprocessing module. I'm having trouble sending a feature layer to a function which is called by ...
Stephen Lead's user avatar
2 votes
1 answer
2k views

Multiprocessing error in QGIS with Python on Windows?

I have this error when I try to use Manager() from python multiprocessing library. (Just start QGIS open Python console and execute the two following lines) >>> import multiprocessing >&...
saverio's user avatar
  • 21
16 votes
3 answers
4k views

Porting Avenue code for Producing Building Shadows to ArcPy/Python for ArcGIS Desktop? [duplicate]

Whuber provided an answer at Producing building shadows using ArcGIS Desktop? which required using Avenue code. Any idea how to make it work in ArcGIS Desktop 10?
EightyTwenty's user avatar