Skip to main content
Notice removed Authoritative reference needed by CommunityBot
Bounty Ended with J. Monticolo's answer chosen by CommunityBot
Tweeted twitter.com/StackGIS/status/1367988346618847236
Notice added Authoritative reference needed by enmapping
Bounty Started worth 150 reputation by enmapping
Rollback to Revision 2
Source Link
enmapping
  • 522
  • 1
  • 6
  • 17

How to iterateIterate through files in a folder QGIS, using Pythonpython

I am using QGIS 3.16QGIS 3.16, and I am trying to run the “Service area from layer”service area from layer function on approximately 400 layers (200,000 starting points in total), I am also due to be repeating this at a range of distances so looking to use Pythonpython. Also, I cannot merge together as there are 1,000s km of road and just not feasible to set it running for next month.

I have been trying to run the “Service area“service are from layer” function via Pythonpython and I can get it to accept my road and node layer, which have to have the same name (but are in different folders), and then output this to a different folder. The issue is that the table contains a row for each service area, but there is no geometry written. Below is the code that I have been working on but reading about I can see that there is something relating to FeatureSinksFeatureSinks but not sure how I go about including this.

How to iterate through files in a folder QGIS, using Python

I am using QGIS 3.16, and I am trying to run the “Service area from layer” function on approximately 400 layers (200,000 starting points in total), I am also due to be repeating this at a range of distances so looking to use Python. Also, I cannot merge together as there are 1,000s km of road and just not feasible to set it running for next month.

I have been trying to run the “Service area from layer” function via Python and I can get it to accept my road and node layer, which have to have the same name (but are in different folders), and then output this to a different folder. The issue is that the table contains a row for each service area, but there is no geometry written. Below is the code that I have been working on but reading about I can see that there is something relating to FeatureSinks but not sure how I go about including this.

How to Iterate through files in a folder QGIS, using python

I am using QGIS 3.16, and I am trying to run the service area from layer function on approximately 400 layers (200,000 starting points in total), I am also due to be repeating this at a range of distances so looking to use python. Also, I cannot merge together as there are 1,000s km of road and just not feasible to set it running for next month.

I have been trying to run the “service are from layer” function via python and I can get it to accept my road and node layer, which have to have the same name (but are in different folders), and then output this to a different folder. The issue is that the table contains a row for each service area, but there is no geometry written. Below is the code that I have been working on but reading about I can see that there is something relating to FeatureSinks but not sure how I go about including this.

naming, formatting
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65

How to Iterateiterate through files in a folder QGIS, using pythonPython

I am using QGIS 3.16QGIS 3.16, and I am trying to run the service area from layer“Service area from layer” function on approximately 400 layers (200,000 starting points in total), I am also due to be repeating this at a range of distances so looking to use pythonPython. Also, I cannot merge together as there are 1,000s km of road and just not feasible to set it running for next month.

I have been trying to run the “service are“Service area from layer” function via pythonPython and I can get it to accept my road and node layer, which have to have the same name (but are in different folders), and then output this to a different folder. The issue is that the table contains a row for each service area, but there is no geometry written. Below is the code that I have been working on but reading about I can see that there is something relating to FeatureSinksFeatureSinks but not sure how I go about including this.

How to Iterate through files in a folder QGIS, using python

I am using QGIS 3.16, and I am trying to run the service area from layer function on approximately 400 layers (200,000 starting points in total), I am also due to be repeating this at a range of distances so looking to use python. Also, I cannot merge together as there are 1,000s km of road and just not feasible to set it running for next month.

I have been trying to run the “service are from layer” function via python and I can get it to accept my road and node layer, which have to have the same name (but are in different folders), and then output this to a different folder. The issue is that the table contains a row for each service area, but there is no geometry written. Below is the code that I have been working on but reading about I can see that there is something relating to FeatureSinks but not sure how I go about including this.

How to iterate through files in a folder QGIS, using Python

I am using QGIS 3.16, and I am trying to run the “Service area from layer” function on approximately 400 layers (200,000 starting points in total), I am also due to be repeating this at a range of distances so looking to use Python. Also, I cannot merge together as there are 1,000s km of road and just not feasible to set it running for next month.

I have been trying to run the “Service area from layer” function via Python and I can get it to accept my road and node layer, which have to have the same name (but are in different folders), and then output this to a different folder. The issue is that the table contains a row for each service area, but there is no geometry written. Below is the code that I have been working on but reading about I can see that there is something relating to FeatureSinks but not sure how I go about including this.

deleted 80 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Loading
Source Link
enmapping
  • 522
  • 1
  • 6
  • 17
Loading