Hi,
1. CREATEAGNROWHOUSE - is it possible to create a rule that would automatically create row houses from the same file as normal buildings? For example, as far as I have noticed, there could be used different buildings types < selected width and > selected width. Can I use this parameter to automatically create row houses for objects > then f/e 30?
Yes, that is possible. You should see the filter as an operation that makes a selection out all available features. So can apply such a filter to any of the processing steps, so also to row houses.
2. Calibration - my ground is made from 3 different bgls due to the large size. I have problems with calibrating the autogen properly. Surely I can do that in the Annotator but only for 1/3 files. When I open other files, edge autogen is misplaced. As far as I have seen, I can't simply select vegetation and buildings from a specific region in Annotator to move it. I can move all of them or each one.
Could be that one of the photo BGL files is not accurately aligned then. Normally you should not see an offset between different BGL files. Not sure if there is much that can be done while generating the autogen, that is placed at the location of the vector data. Or the vector data must not be accurate.
3. CREATEAGNPOLYBUILD - I guess this processing step will generate polygonal buildings from every building object in the shapefile? It would actually be very helpful to be able to use only one filter:
- if the footprint is rectangular, engine process it as a standard autogen
- if a building has more than 4 walls, the program uses polygonal shapes
Is it possible to program it using the current engine or this would require some updates in your source code?
I think I would need to add an additional attribute to the code to allow this. Not sure if amount of walls would be a good one though, sometimes the OSM data has multiple vertices for one wall, so that would mean you have more than 4 line segments (walls). But I guess it is worth a try.
4. If the above feature is possible, the next great help would be a possibility to use < and > parameters for creating CREATEAGNROWHOUSE and CREATEAGNPOLYBUILD - polygonal buildings could be used f/e for larger or smaller buildings (this would require testing).
Not sure if I understand this, but using > and < in filters is possible already. So that kind of filtering can be done. Except that you might need some extra parameters.
5. Is it possible to set SETAGNBUILDINGHEIGHT differently for various buildings types, f/e differently for the standard autogen, CREATEAGNROWHOUSE and CREATEAGNPOLYBUILD?
The height is a parameter set per tile, not per type of object. But only the rectangular autogen buildings are affected by it I think. For the row houses and polygonal buildings the height is part of the class if I remember correctly.
Besides all that, I am now working on adding as much filtering as possible, to make the autogen look more natural. Currently the program likes to create huge houses where there are complicated structures or a group of buildings... Thanks in advance for your help!
Yes, I know. My plan is to add logic that will split such complex footprints into a couple of rectangles. That way it should be possible to have a more accurate shape.
[edit] I have actually tried
CREATEAGNPOLYBUILD|FTYPE=POLYGON;FROMFILE=wawbui.shp|{3ebb79da-62ab-40fc-9a17-d65ebf8f8789}|10
but no buildings are visible...
The last parameter is the extrusion depth. The unit of the depth is not meters, but percentage of the width of the autogen LOD. So try a smaller value, I have used 0.01 in some of my testing here. But be aware that as soon as some walls intersect when you extrude them the object will look weird or could disappear. That's why I feel the polygon buildings are not so useful, they need to have an open courtyard in the middle.