EkistikaContact us

Understand roof merging and CatiBirlestirme.log

How roof triangles are merged into polygons, the round-limit message and the report file.

SimplexCity 1.9 merges a building’s neighbouring roof triangles that lie in almost the same plane into a single roof polygon. Merging happens automatically during Ön İzleme (preview) and CityGML Dönüştürme (CityGML conversion); there’s no separate button for it.

Merging rules

  • Neighbouring triangles whose orientations differ by less than 2° are combined into one surface.
  • Corner X and Y values never change; only Z is adjusted. A corner moves by at most 0.05 master units (5 cm in a drawing that uses metres).
  • A roof polygon can have at most 1,000 corners.
  • After the Z adjustment, the groups are re-evaluated. This takes at most 10 rounds.
  • Wall and ground surface corners that coincide with roof corners receive the same Z adjustment.

The round-limit message

If merging doesn’t settle within 10 rounds for a building, the status bar shows a message such as Çatı birleştirme: bina 12 tur sınırına (10) ulaştı, son durum kullanıldı. (“Roof merging: building 12 reached the round limit (10); the last state was used”). The number is the building’s position in that run. This isn’t an error: the result of the last round is used and the model is still written. Check that building’s roof visually in the DGN.

CatiBirlestirme.log

If logging is on — that is, unless the operation’s section in the settings file says Log=0 — a line is added for each building to CatiBirlestirme.log in the active DGN’s folder. The file grows with every run; earlier lines aren’t deleted. The main fields on each line are:

FieldMeaning
BINAThe building’s position in this run
ucgenNumber of roof triangles going in
poligonNumber of roof polygons coming out
turNumber of rounds run
sinir1 if the round limit was reached
zmaxLargest Z shift
alan0, alanTotal 3D roof area before and after merging

For buildings that reached the round limit, a UYARI: tur sınırına (10) ulaşıldı… (“Warning: round limit reached”) note is added below the line. Corners that were asked for different Z values are listed on CAKISMA lines, up to 20 per building.

Still need help?

Tell us your version, what you were doing and the message you saw; a screenshot helps.