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

OGR power!

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,536
Country
netherlands
For the new scenProc feature to detect features from imagery I started to use the GDAL/OGR libraries. But since the OGR library supports reading many vector formats, I have now also add a new step that allows you to read in data through this library. It is called IMPORTOGR. The attributes are the same as you are used to for the other formats, you specify the filename, the optional geospatial filter and the coordinate system used in the file.

The big advantage is that the OGR library supports many formats. So this makes it possible to load even more data into scenProc. So you can for example read SHP or OSM XML. But also the binary OSM PFB, KML, GML and many many more.

Using the OGR library I think I also have better support for features with holes. Before that was only supported when reading from SHP and for complex features it didn’t always work. That should have been improved now as well.

The existing steps like IMPORTSHP, IMPORTOSM and IMPORTKML are now deprecated. Which means I will not develop them further and they will be drop in a future release. So you are advised to switch to the new IMPORTOGR step. Let me know if there are features that used to work in the old steps, but no longer in the new one.

One feature from the old IMPORTOSM step is not yet implemented, that’s the ability to filter on the attributes and only read the features of the attributes you need. I hope to add such a feature to the new OGR reader as well. Any ideas on what would be the most convenient way to do this are welcome. Assuming that you users are using this attribute to limit the memory usage.

Continue reading...
 
Back
Top