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

Built-in help

In the last two days I have made scenProc a little more robust. Before any mistake in the configuration file would usually result in a crash of the entire tool. That has been changed now. The tool will now check if you provided the right amount of parameters and give a warning when that is not the case. Sometimes it will also check if the parameters provided are of the right type, but that is not yet supported for all available processing steps. Another change I have made is that the tool now has built-in help. If you enter scenproc … Continue reading Built-in help

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

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

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