- Messages
- 118
- Country
Hi,
I'm trying to process big areas in 2 passes for memory constraints, then I tried to subtract roads to vegetation AGNs already build during a 1st pass. I think it's not working, so maybe I'm wrong on the method.
I verified that some AGN files are effectively modified after the process (from date/time tag).
The steps are below:
Thanks
Roland
I'm trying to process big areas in 2 passes for memory constraints, then I tried to subtract roads to vegetation AGNs already build during a 1st pass. I think it's not working, so maybe I'm wrong on the method.
I verified that some AGN files are effectively modified after the process (from date/time tag).
The steps are below:
Code:
#
IMPORTOGR|D:\Roads.shp|*|*|AUTODETECT
#
# extrude roads
LineToPolygon|FTYPE="LINE" and fclass="motorway" and tunnel<>"T"|25|String;polygons|roadpoly
#
# Free memory
UnloadFeatures|FTYPE="LINE"
#
# Import vegetation AGN
ImportAGN|D:\VEG|CREATEFEATURES
#
# Substract road polygons from vegetation
SUBTRACTFEATURES|*|polygons="roadpoly"|1.0
#
# Free memory
UnloadFeatures|polygons="roadpoly"
#
SplitGrid|AGN|*
#
# Save modified AGN
ExportAGN|P3D v2|D:\VEG
Thanks
Roland