# # LOAD OPENSTREETMAP DATA of the area to work on ImportOGR|g:\construction\brewster\usbuildingfootprints\usbuildingfootprints.shp|*|*|NOREPROJ # # LOAD SHAPEFILE that will be excluded from processing. # - By default this script loads all .kml exclude files in the folder. If you only want specific files, then use # the filename in place of "*.kml", You may also need to do the same for any of the "AddAttributeIfInside" # lines you are using in the FILTER section below. # - Buildings in airport areas are now automatically excluded, so no exclude file is required for these. # ImportOGR|E:\Aerofly_FS2\Cultivation\*.kml|*|*|NOREPROJ # # SPLITGRID # Split the features into a grid of 0.25 x 0.25 degrees, Do not split buildings, but filter them into the # right grid cells. # - This command enables concurrent processing of the grid cells, speeding up the process. SplitGrid|0.25|*|building="*" # # # CREATE AF2 BUILDINGS CreateAF2Building|FAREARAT<0.7|1|1|flat|industrial|0 CreateAF2Building|FAREARAT>0.7 And FLENGTH < 14|1|1|gable|industrial|0 CreateAF2Building|FAREARAT>0.7 And FLENGTH >= 14 And FLENGTH < 28|1|1|gable|residential|0 CreateAF2Building|FAREARAT>0.7 And FLENGTH >= 28|2;4|1|flat|industrial|0 # # # MERGEGRID joins cells spilt by SplitGrid. These 2 commands provide shorter running times for denser areas. MergeGrid # # EXPORT THE AF2 TOC FILE # Enter a folder/file name as required. ExportTOC|g:\construction\brewster\usbuildingfootprints|s97_buildings