dave hoeffgen
Resource contributor
- Messages
- 1,439
- Country

Hi,
for building not to intersect a road I used the "line to poly" function and then the "SubtractFeatures" one.
After hours of processing and a result like there was no subtraction attempt applied I decided to make a test.
So I quickly made this shapefile in QGIS:
The yellow poly has the attribute "test=2", the two others have "test=1".
I used the following code:
The exported shapefile is written OK, but nothing is "subtracted", basically input and output files are identical.
Is this a limit to the feature, is This not how it is meant to be used? Is it limited to polygons which are completely inside each other?
Thanks in advance for any clarification.
Regards,
Dave
for building not to intersect a road I used the "line to poly" function and then the "SubtractFeatures" one.
After hours of processing and a result like there was no subtraction attempt applied I decided to make a test.
So I quickly made this shapefile in QGIS:
The yellow poly has the attribute "test=2", the two others have "test=1".
I used the following code:
Code:
ImportOGR|...\test.shp|*|*|AUTODETECT
SubtractFeatures|test=2|test=1|1.5
ExportOGR|*|ESRI Shapefile|...\test.shp|test
#paths are removed for privacy, they are not identical
The exported shapefile is written OK, but nothing is "subtracted", basically input and output files are identical.
Is this a limit to the feature, is This not how it is meant to be used? Is it limited to polygons which are completely inside each other?
Thanks in advance for any clarification.
Regards,
Dave
