EkistikaContact us

Convert buildings to CityGML

Use CityGML Dönüştürme to write one F-<YapıID>.gml file per building.

CityGML Dönüştürme (CityGML conversion) models the buildings you choose and writes a separate CityGML 2.0 file for each one. Identifiers come from the file in the Kadastro DGN (cadastre DGN) field, the coordinate system from the EPSG list, and the contract number from the Sözleşme Numarası (contract number) field.

Convert

  1. Choose Model İşlemleri (model operations) from the İşlem Türü (operation type) list, then CityGML Dönüştürme from the Yapılacak İşlem (operation) list.
  2. Choose Tek Yapı (single structure) or Fence İçi Yapılar (structures inside the fence) from the Seçim (selection) list. If you’ll use a fence, draw it first.
  3. Choose your data’s TUREF/TM zone in the EPSG list.
  4. Press the ... button on the Kadastro DGN row. The Dosyalar (Files) window opens in the active DGN’s folder; choose the cadastre DGN.
  5. Type the tender or contract registration number in the Sözleşme Numarası field.
  6. Press Başlat (Start). With Tek Yapı, the prompt shows Ana Yapı'yı gösteriniz (“Identify the main structure”); select the buildings one by one. With Fence İçi Yapılar, the structures in the fence are processed in turn.
  7. When it’s done, the status bar shows CityGML Dönüşümü işlemi tamamlandı. (“CityGML conversion finished”).

MicroStationCityGML Dönüşümü işlemi tamamlandı.

Illustrative interfaceCityGML Dönüştürme uses two parameter rows. The values are examples.

Where the files go

  • One file is written per building: F-<YapıID>.gml. The files are saved in the same folder as the active DGN.
  • An existing file with the same name is overwritten. If two buildings share a building ID, the later one replaces the earlier one’s file.
  • The conversion also draws the surfaces on the BinaCati and BinaDuvar levels in the DGN and marks the structures as processed.
  • If logging is on, a separator line is added for each building to gmlDonusum.log in the cadastre DGN’s folder. Roof-merging details are in CatiBirlestirme.log in the active DGN’s folder.

What each file contains

  • The LoD0 footprint and roof edge (lod0FootPrint, lod0RoofEdge) and the LoD1 solid (lod1Solid).
  • LoD2 roof, wall and ground surfaces and the terrain intersection curve (lod2TerrainIntersection).
  • Canopies and awnings as building parts (BuildingPart) and roof installations as building installations (BuildingInstallation).
  • Generic attributes: blockNumber (block), parcelNumber (parcel), constructionID (building ID), maksIdentityNumber, takbisNeighbourhoodReference, takbisPropertyIdentityNumber, tenderRegistrationNumber, buildingType and roofProjectionArea.
  • The building name has the form Fotogrametrik Bina_<ada>-<parsel>, and the coordinate system is written as EPSG:<code>.

Sözleşme Numarası

The value you type in Sözleşme Numarası goes into every file written in that run as the tenderRegistrationNumber attribute. The / character is removed from the value; for example, 2025/14 is written as 202514.

Still need help?

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