- Messages
- 542
- Country
Hi,
I have had success so far creating autogen vegetation and buildings from two shapefiles in each area, with buildings and landuse in their names. There is another shapefile which has "natural" in the name, and it appears to made up of singular points, each representing trees, peaks, cave entrances and springs, from what I have found so far. There are a lot of specifically placed trees, so I was wondering if I can use those points to place trees? I've tried a few different commands, but the only one that worked was the CreateAGNRectVeg command. That did create a lot of objects and over 200 autogen files, but I have just checked an none of the autogen actually appeared. The script I used, just to experiment with these points was:
#
ImportOGR|C:\Program Files\scenProc_3.0_x64\gdal-data\cantabria-latest-free\gis_osm_natural_free_1.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*|building="*"
#
# creation of the vegetation
CreateAGNRectVeg|FTYPE="POINT" and fclass="tree"|{6518f46e-debc-4f66-990e-9ec05421b6de};{929531c5-813c-43f6-8684-8470f9ecd303};{7477a821-8ce9-4687-87b9-2b130a30fa80}
#
ExportAGN|FSX|F:\Photoreal\Spain_PR\Cantabria\Texture
And the log result for that was:
1:19 AM ImportOGR Information Reading file C:\Program Files\scenProc_3.0_x64\gdal-data\cantabria-latest-free\gis_osm_natural_free_1.shp
1:19 AM ImportOGR Information Read 49406 features from file
1:19 AM SplitGrid Information Splitting features in 0.0146484375 x 0.010986328125 grid...
1:19 AM SplitGrid Information Features divided in 8073 cells
1:19 AM CreateAGNRectVeg Information Creating autogen rectangular vegetation with filter FTYPE="POINT" and fclass="tree"...
1:19 AM CreateAGNRectVeg Information Created 46935 autogen objects
1:19 AM ExportAGN Information Writing AGN files to folder F:\Photoreal\Spain_PR\Cantabria\Texture
1:19 AM ExportAGN Information Created 46935 rectangular vegetation objects
1:19 AM ExportAGN Information Written 218 autogen files
1:19 AM SceneryProcessor Information scenProc finished processing
1:19 AM SceneryProcessor Information 0.45 seconds for ImportOGR
1:19 AM SceneryProcessor Information 0.08 seconds for SplitGrid
1:19 AM SceneryProcessor Information 0.15 seconds for CreateAGNRectVeg
1:19 AM SceneryProcessor Information 0.04 seconds for ExportAGN
1:19 AM SceneryProcessor Information 0.71 seconds total
Here are two screenshots of one of the point shapefiles:
TIA.
I have had success so far creating autogen vegetation and buildings from two shapefiles in each area, with buildings and landuse in their names. There is another shapefile which has "natural" in the name, and it appears to made up of singular points, each representing trees, peaks, cave entrances and springs, from what I have found so far. There are a lot of specifically placed trees, so I was wondering if I can use those points to place trees? I've tried a few different commands, but the only one that worked was the CreateAGNRectVeg command. That did create a lot of objects and over 200 autogen files, but I have just checked an none of the autogen actually appeared. The script I used, just to experiment with these points was:
#
ImportOGR|C:\Program Files\scenProc_3.0_x64\gdal-data\cantabria-latest-free\gis_osm_natural_free_1.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*|building="*"
#
# creation of the vegetation
CreateAGNRectVeg|FTYPE="POINT" and fclass="tree"|{6518f46e-debc-4f66-990e-9ec05421b6de};{929531c5-813c-43f6-8684-8470f9ecd303};{7477a821-8ce9-4687-87b9-2b130a30fa80}
#
ExportAGN|FSX|F:\Photoreal\Spain_PR\Cantabria\Texture
And the log result for that was:
1:19 AM ImportOGR Information Reading file C:\Program Files\scenProc_3.0_x64\gdal-data\cantabria-latest-free\gis_osm_natural_free_1.shp
1:19 AM ImportOGR Information Read 49406 features from file
1:19 AM SplitGrid Information Splitting features in 0.0146484375 x 0.010986328125 grid...
1:19 AM SplitGrid Information Features divided in 8073 cells
1:19 AM CreateAGNRectVeg Information Creating autogen rectangular vegetation with filter FTYPE="POINT" and fclass="tree"...
1:19 AM CreateAGNRectVeg Information Created 46935 autogen objects
1:19 AM ExportAGN Information Writing AGN files to folder F:\Photoreal\Spain_PR\Cantabria\Texture
1:19 AM ExportAGN Information Created 46935 rectangular vegetation objects
1:19 AM ExportAGN Information Written 218 autogen files
1:19 AM SceneryProcessor Information scenProc finished processing
1:19 AM SceneryProcessor Information 0.45 seconds for ImportOGR
1:19 AM SceneryProcessor Information 0.08 seconds for SplitGrid
1:19 AM SceneryProcessor Information 0.15 seconds for CreateAGNRectVeg
1:19 AM SceneryProcessor Information 0.04 seconds for ExportAGN
1:19 AM SceneryProcessor Information 0.71 seconds total
Here are two screenshots of one of the point shapefiles:
TIA.