• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Newbie help

Messages
19
I am new and can not figure this out I have tried to follow instruction, but I am lost in a sea of infos and outdated infos I think my config file is screwed up . My goal is to process ersi shapefiles for FSX for buildings


#buildings
ImportOGR|G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*|FROMFILE="G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp"
#
CreateAGNGenBuild|FROMFILE="G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp" And FWIDTH<20|{5 ,
→ ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CreateAGNGenBuild|FROMFILE="G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp" And FWIDTH>20|{6089 ,
→ A0BD-CED1-4c47-9A9E-64CDD0E16983}
#
ExportAGN|FSX|texture

What am I doing wrong , can someone write a config file I can learn from for me>?
My shapefile can be read in sbx just fine

Here is the error file
9:54 AM SceneryProcessor Error Failed to find processing step ImportOGR
9:54 AM SplitGrid Error FROMFILE="G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp" is not a valid filter string
9:54 AM SceneryProcessor Error Failed to find processing step #
9:54 AM CreateAGNGenBuild Error FROMFILE="G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp" And FWIDTH<20 is not a valid filter string
9:54 AM CreateAGNGenBuild Error Guid {5 , is not valid
9:54 AM SceneryProcessor Error Failed to find processing step → ae04eb6-934c-4f63-bb48-5e7dee601212}
9:54 AM CreateAGNGenBuild Error FROMFILE="G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp" And FWIDTH>20 is not a valid filter string
9:54 AM CreateAGNGenBuild Error Guid {6089 , is not valid
9:54 AM SceneryProcessor Error Failed to find processing step → A0BD-CED1-4c47-9A9E-64CDD0E16983}
9:54 AM SceneryProcessor Error Failed to find processing step ExportAGN
 
Hello leemer,

you copy pasted this directly from the manual?

Change "FROMFILE="G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp"" to FROMFILE="buildingtest.shp"

and also clean up your code. Your GUIDs are split apart:

|{5 ,
→ ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2

should be:

|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2

and so on...

And are you sure, this file is located there?
 
thanks for the reply

I tried other things and was trying to toy around with the script for a possible solution , the files are inside the file where the .exe lives

I changed it to this now
#buildings
ImportOGR|buildingtest.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*|FROMFILE="buildingtest.shp"
#
CreateAGNGenBuild|FROMFILE="buildingtest.shp" And FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CreateAGNGenBuild|FROMFILE="buildingtest.shp" And FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
#
ExportAGN|FSX|texture

Here is the error

11:03 AM SceneryProcessor Error Failed to find processing step ImportOGR
11:03 AM SceneryProcessor Error Failed to find processing step #
11:03 AM SceneryProcessor Error Failed to find processing step ExportAGN
 
I think you have a line where there is a space before the # character and then it's not seen as a comment. These lines should be displayed in green in the editor if they are recognized as comment.
 
I think you have a line where there is a space before the # character and then it's not seen as a comment. These lines should be displayed in green in the editor if they are recognized as comment.

You was correct I took the space out , then had an error could not find source file and could not export to folder, so i did this

# buildings
ImportOGR|G:\scenproc_latest_development_release_x64 (1)\buildingtest.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*|FROMFILE="buildingtest.shp"
#
CreateAGNGenBuild|FROMFILE="buildingtest.shp" And FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CreateAGNGenBuild|FROMFILE="buildingtest.shp" And FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
#
ExportAGN|FSX|G:\scenproc_latest_development_release_x64 (1)\texture <------ I'm sure this could be in flight sim scenery folder i just moved them over.

No errors now and it is working in the game, so thanks a whole lot. Now I can play with other settings and learn them.

If I have scenery that is maybe around 100km east and west maybe on the average around 50km north and south, what is the best way to process that?
 
I think such an area you can process at once, unless the data is too sense to load in memory at once.
 
Back
Top