- Messages
- 42
- Country

I am trying to process some vegetation autogen by importing shapefiles I have created. The shapefiles contain attributes for vegetation types, for example differentiating between conifers and broadleafs. Ideally I would like to create vegetation polygons and assign a GUID based on the attribute type. Here is my config:
ImportOGR|*.shp|*|*|NOREPROJ
SplitGrid|AGN|*|*
CreateAGNPolyVeg|FTYPE=POLYGON;type=CONIFER|{9391DA15-6219-4246-8E1B-68AC494BDF3A}
CreateAGNPolyVeg|FTYPE=POLYGON;type=DECIDUOUS|{6abd81e8-d770-47bf-9a04-2e25fb393d0b}
CreateAGNPolyVeg|FTYPE=POLYGON;type=SHRUB|{9A8064AA-1C0D-466D-9428-87B05DCE849D}
CreateAGNPolyVeg|FTYPE=POLYGON;type=MIXED|{db9149ee-bb9d-4da6-89c8-2c4900eed8fa}
ExportAGN|FSX|...\texture
The "type" in the CreateAGNPolyVeg parameter refers to attributes in the shapefile. All of the names match up but it only seems to generate autogen for the first type.
Is what I am trying to do possible? Import a shapefile, and create polys of a specific GUID based on an attribute?
**EDIT: I spoke too soon, my re-run of ScenProc completed and it appears you can indeed do what I have written out above. Hopefully this post can be of some use to others learning their way through ScenProc
ImportOGR|*.shp|*|*|NOREPROJ
SplitGrid|AGN|*|*
CreateAGNPolyVeg|FTYPE=POLYGON;type=CONIFER|{9391DA15-6219-4246-8E1B-68AC494BDF3A}
CreateAGNPolyVeg|FTYPE=POLYGON;type=DECIDUOUS|{6abd81e8-d770-47bf-9a04-2e25fb393d0b}
CreateAGNPolyVeg|FTYPE=POLYGON;type=SHRUB|{9A8064AA-1C0D-466D-9428-87B05DCE849D}
CreateAGNPolyVeg|FTYPE=POLYGON;type=MIXED|{db9149ee-bb9d-4da6-89c8-2c4900eed8fa}
ExportAGN|FSX|...\texture
The "type" in the CreateAGNPolyVeg parameter refers to attributes in the shapefile. All of the names match up but it only seems to generate autogen for the first type.
Is what I am trying to do possible? Import a shapefile, and create polys of a specific GUID based on an attribute?
**EDIT: I spoke too soon, my re-run of ScenProc completed and it appears you can indeed do what I have written out above. Hopefully this post can be of some use to others learning their way through ScenProc
Last edited: