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

MSFS20 Is there a way to create a QMID grid in QGIS?

Messages
4
Hi

A long time ago, I could create a QMID grid in SBuilder as a .shp file and then import it into QGIS. I wonder if after these years there is any way to create a grid of a given QMID level of a region directly in QGIS without the help of Sbuilder. Maybe a plugin, script, whatever.

Regards.
 
Hi,

You can create it with scenproc as well.
 
Sorry Arno, I didn't know that it was possible with your tool.

But I'm reading the manual and I don't find how to export a shape file with a QMID grid (to load it on QGis).
 
Hi

A long time ago, I could create a QMID grid in SBuilder as a .shp file and then import it into QGIS. I wonder if after these years there is any way to create a grid of a given QMID level of a region directly in QGIS without the help of Sbuilder. Maybe a plugin, script, whatever.

Regards.
Only LOD 5 with Folder and Name file.
 

Attachments

  • 1716302969346.png
    1716302969346.png
    4.2 MB · Views: 74
Sorry Arno, I didn't know that it was possible with your tool.

But I'm reading the manual and I don't find how to export a shape file with a QMID grid (to load it on QGis).
You can easily create it by making a polygon and then using the split grid step to generate the QMID size you want. I'll make you a sample script when I'm behind my PC again.
 
No problem Arno, whenever you can.

In the meantime I continue reading the manual (I used to use this tool long time ago to create autogen vegetation for FSX). I've discovered some interesting "steps" like Splitgrid (SplitGrid|LODXX|). I guess you mean this command to create grids.
 
Hi,

This script does what you want:

Code:
CreateRectangle|-180;180;-90;90|String;type|poly
#
SplitGrid|QMID7|*|NONE
#
MergeGrid
#
ExportOGR|*|ESRI Shapefile|qmid_grid.shp|qmid_grid

The first step creates a polygon that covers the entire world (you can do it for a smaller area as well if you want). The next step divides it in the QMID grid size you want. I used QMID7 here, but you can change the value if you want of course. The next line combines all the cells with the QMID polygons back into one cell again so that they can be exported to one file. And the last step writes the polygons to a SHP file.
 
I saw the manual had a sample to make a grid for Google Earth already, but I can add this one as well indeed.
 
Back
Top