• 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.

ScenProc SplitGrid issues

Messages
58
Country
switzerland
Dear Arno,

After some work with ScenProc I identified a few issues with the SplitGrid step and the window limits one can set either in ImportOGR or SplitGrid steps.

Please find attached a link to a document describing the phenomena I could notice. I was working with AFS2 cultivation (TOC) files, but it's probably the same whatever the output...
https://www.dropbox.com/s/6hciks1ez9p6hpv/ScenProc_splitgrid_issues.pdf?dl=0

Looking forward to knowing what you think of this...

EDIT: this report is not based on the latest ScenProc dev release, but I don't think the SplitGrid step was changed in the meantime

Cheers
Antoine
 
Last edited:
Attached is an archive with source shape files and ScenProc steps (both "exact" and "overlap") for Zone_02L and Zone_02R in case you wish to reproduce the mentioned issues. You just need to redirect folders according to your own system configuration.

Thanks for your support
Cheers
Antoine
 

Attachments

I'll have a look when I'm back home, I'm currently camping with the kids.
 
Did you use rest and kids in the same sentence? We had a lot of fun, but too say that I'm really rested.....

Got home again today, so will check your document soon.
 
Just read your document, thanks for the detailed description. Looks like a bug in the SplitGrid step indeed, since the buildings that fall outside of the specified bounding box should be removed. Now they are left and that does generate additional tiles. I'll check the code tomorrow to see why this is happening.

I'll also check the naming inconsistency while I'm in the code.
 
Hi,

I have modified the ExportTOC step now to not export empty files, that should help a bit.

There is indeed an issue in the SplitGrid step, but I have traced that back to an unexpected results from the C# Math library. I need to investigate more what I did wrong there.
 
Hi Arno,

Thank you for your note and taking care of these issues, I'd assume the splitgrid bug may affect all output formats.
As the case may be this might explain in some cases why people have missing data in their autogen.

I'm father of 2 young girls, I know what you mean for kids and rest ;-)

Cheers
Antoine
 
In the latest build the SplitGrid issue should be solved.
 
Hi Arno,

I just run my "overlap" script on your latest dev release: congratulations, your fixes for the SplitGrid issues seem to work fine.
I had no more empty or "out of bound" extra Tiles generated.

Corsica_02.JPG



The Tile naming error however is still present, but it's not much disturbing.
Note the E008°30' and E009°00' Tiles were rounded to 5' instead of 6' LON, but the E009°30' Tiles have the correct naming.
Corsica_01.JPG


TOC_naming.JPG

TOC_naming_01.JPG


Cheers
Antoine
 

Attachments

  • Corsica_01.JPG
    Corsica_01.JPG
    199.7 KB · Views: 448
Hi,

I'll have another look at the naming issue. I did initially not see it in my code, but it might have the same cause.
 
Back
Top