Classify building footprints

I have been adding more built-in attributes to scenProc recently, to allow you to classify buidling footprints in different types. Then for each type you can make different kind of autogen. This work is not yet finished, but in this blog post I want to show what you can do already now. Please read the scenProc manual to see which attributes are available and what they mean. Below is a scenProc configuration file I used to create autogen around the city of Amsterdam: # Amsterdam autogen test IMPORTSHP|buildings_adam.shp|NOREPROJ # ADDATTRIBUTE|*|BUILDCAT|5|1 ADDATTRIBUTE|FCONVEX=1|BUILDCAT|4|1 ADDATTRIBUTE|FNUMPERPANG>3;FNUMNOTPAR<2;FNUMVERT<10|BUILDCAT|3|1 ADDATTRIBUTE|FAREARAT>0.85|BUILDCAT|2|1 ADDATTRIBUTE|FNUMVERT=4;FNUMPERPANG=4|BUILDCAT|1|1 # EXPORTSHP|*|bla # SPLITGRID|AGN # SETAGNBUILDINGHEIGHT|1.0;0.4;0.2;0.0 … Continue reading Classify building footprints

Some autogen thoughts

I am going to spend some time on the scenProc tool again the coming weeks. It’s time to finish some of the features of that tool and make it even easier to make autogen. But of course there are some challenges left. One of the main challenges is that most FSX autogen must be rectangular. So for a group of houses as shown above that will work. It is not so hard to define a rectangle for each of them. Some have a small extension, but even if you ignore those the result will look quite good. For the buildings … Continue reading Some autogen thoughts

It’s the scale, stupid

While working on the next update of the NL2000 scenery, I have learned some interesting things again. For this update I have worked on the road bridges we have in the scenery. These objects have been in the scenery a couple of versions already, but with the road traffic that FSX has added it became quite clear that the cars were not driving over the bridge, but through it. The solution for this was to add a platform to the road surface of the bridge. Adding the platform was easy, that could be done with ModelConverterX in a few seconds. … Continue reading It’s the scale, stupid


Some weeks ago I added a tool called agn2txt to the development release package of my tools. With this tool you can decompile AGN files to readable TXT files. Today I have added the reverse tool as well. As you might have guessed it is called txt2agn and it can be used to compile the TXT file form agn2txt back into an AGN file. So this allows you to make changes to the TXT file and then create an updated AGN file. The tool is a command line application again and it takes two arguments. The first is the TXT … Continue reading txt2agn

scenProc improved filtering

Today I have extended the filtering options in scenProc. I have added some addition parameters and allowed different conditions. The new attributes are the length, width and area of the feature. These are calculated and added as attributes for each feature now. The new conditions mean that you can now also filter on attributes being not equal, greater or smaller than the given value. An example where I used such conditions is below. In that case I gave all buildings with a width below a certain value a peaked roof, while I gave all wider buildings a flat roof. With … Continue reading scenProc improved filtering

Decompiling and compiling autogen

A few weeks ago I made a tool that can decompile AGN files and create a TXT file to show you which autogen is in there. I called this tool agn2txt. It is my plan to make a compiler as well for the reverse, so this would be called txt2agn. It can create an AGN file again from the TXT file with the information. Making this tool was very useful for me to learn more about the AGN format. But I did not look at the SDK properly, since the FSX SDK also comes with a tool called AgnDump. It … Continue reading Decompiling and compiling autogen

scenProc beta available

A first beta version of the scenProc tool is available for testing now. It is part of the development release package of my tools. The tool is a command line tool to create scenery from data you import. At the moment it can create autogen files from GIS vector data. In the future other scenery processing will probably be added as well. On the FSDeveloper Wiki you can find the manual of the tool as well, it explains the options you can specify in the configuration file. Let me know how you get along with processing your own data. If … Continue reading scenProc beta available

Autogen from OSM (3)

Since my last blog post about the autogen I have mainly been working on adding autogen buildings as well. This went quite well, I can now add the generic autogen buidlings as well as the row houses from my tool. There are still some issue that some of the buildings don’t get the right shape, that’s because in the autogen you don’t use the total footprint. I need to derive a orientation and size from the footprint information. But once those few issues are out, I think I can make the tool available to others for testing as well. Let me know if you … Continue reading Autogen from OSM (3)

Autogen from OSM (2)

Tonight I was able to fix the remaining bugs in my tool to generate the autogen forests from the OpenStreetMap data. One of them was that I didn’t know that in the AGN file all polygons need to be closed (first vertex the same as the last vertex). Below are some screenshots of how it looks in the Annotator tool and in FSX now. The photo scenery I use is the NL2000 scenery of the Netherlands. Now that the forests are working, I am going to move to the houses. Let’s see what I can do with the house footprints … Continue reading Autogen from OSM (2)

Autogen from OSM

As I mentioned in my previous blog posts I am trying to create autogen from GIS vector data. For my first test case I am using the OpenStreetMap data of the Dutch island of Schiermonnikoog. Below you see a screenshot from the data, as well as a screenshot in the Annotator tool showing the autogen I have made. It isn’t perfect yet, but I am quite happy already with the first results from tonight. Some of the forests are still missing, so there are still a few bugs left in my tool. But on the other hand quite a big part … Continue reading Autogen from OSM