Ekistika

SimplexCity Model User Guide

SimplexCity Model is an MDL application that builds CityGML building models from photogrammetric building drawings in MicroStation. This guide sums up the basic steps and features, from the add-in’s files to your first conversion.

User Guide

Read the guide on this page or download it as a PDF.

Section 1

Installation

SimplexCity Model is an MDL application that runs inside MicroStation. The application file is SimplexCity.ma, and everything is done from a single dialog panel called SimplexCity 1.9. The interface and messages are in Turkish.

  • The settings file, simplexcity.ini, must be in the same folder as SimplexCity.ma. The add-in looks for it only in that folder; if it can’t find it, it shows simplexcity.ini dosyası bulunamadı. (“simplexcity.ini not found”).
  • The [Katmanlar] section of the settings file defines which level code in the drawing means a main building, a canopy, a roof detail, a parcel boundary or a terrain triangle.
  • When it loads, the add-in checks its licence. Once the check passes, the SimplexCity 1.9 dialog opens. If you see a licence warning, check that the licence key is plugged in and its driver is installed.

Installation and licensing are arranged with Ekistika. Ekistika’s integration test was run on MicroStation V8i 08.11.09.

Section 2

First Steps

When the dialog opens, no operation is selected yet, and the Seçim (selection) and EPSG rows and the parameter fields are turned off. No operation starts when you select it; each one runs when you press Başlat (Start).

The dialog before an operation is chosen: the Seçenek and Parametre rows are turned off.1

Preview Your First Building

  1. In MicroStation, open the DGN that contains the photogrammetric building drawing.
  2. Choose Model İşlemleri (model operations) from the İşlem Türü (operation type) list, then Ön İzleme (preview) from the Yapılacak İşlem (operation) list.
  3. Choose Tek Yapı (single structure) from the Seçim list and your data’s TUREF/TM zone from the EPSG list.
  4. Enter the cadastre DGN in the Kadastro DGN (cadastre DGN) field, or choose it with the ... button.
  5. Press Başlat. When the prompt shows Ana Yapı'yı gösteriniz (“Identify the main structure”), select the building’s shape.
  6. Look at the roof surfaces on the BinaCati level and the wall surfaces on BinaDuvar. Fix anything in the drawing that needs it.

Write Your First CityGML File

  1. Choose CityGML Dönüştürme (CityGML conversion) from the Yapılacak İşlem list.
  2. Check the Seçim, EPSG and Kadastro DGN fields, and type the tender or contract registration number in the Sözleşme Numarası (contract number) field.
  3. Press Başlat and select the building. It’s written to the active DGN’s folder as F-<YapıID>.gml.

Section 3

Key Features

Three Operations

OperationWhat it does
Ön İzleme (preview)Draws the building model into the DGN without writing CityGML: roofs on BinaCati (60000), walls on BinaDuvar (60001).
CityGML Dönüştürme (CityGML conversion)Writes one CityGML 2.0 file per building and also draws the surfaces into the DGN.
Element Fill Kaldırma (remove element fill)Removes the fill from shapes on the building levels so structures can be processed again.

With every operation, you can select buildings one by one with Tek Yapı (single structure) or process the structures in a fence together with Fence İçi Yapılar (structures inside the fence). When Ön İzleme or CityGML Dönüştürme runs with a fence, shapes on the main or other building levels whose centre lies inside the fence are processed.

From Levels to Model

Using the mapping in the settings file, the add-in reads the main building, other structure, canopy, awning, roof detail, roof installation, roof line, window, parapet, courtyard, terrace, dome, cone and minaret levels. Canopies and awnings are added to the main building they touch as building parts, and roof installations become building installations.

Cadastre and Terrain

The building ID, MAKS ID, block, parcel, land reference and neighbourhood reference are read from the texts and boundaries in the file you choose in the Kadastro DGN field. The building ID also names the file. Ground heights and the terrain intersection curve are calculated from the terrain triangles in a DGN named after the 1:1000 map sheet each building falls on. These map-sheet DGNs are looked for in the cadastre DGN’s folder, and the sheet depends on the EPSG zone you choose.

CityGML Output

  • One file per building: F-<YapıID>.gml, in the active DGN’s folder. A file with the same name is overwritten.
  • The LoD0 footprint and roof edge, the LoD1 solid, and the LoD2 roof, wall and ground surfaces with the terrain intersection curve, all in the same file.
  • Cadastre identifiers, the contract number and the roof projection area are written as generic attributes, and the coordinate system as EPSG:<code>.

Roof Merging

Neighbouring roof triangles that lie in almost the same plane are merged into one roof polygon: 2° angle tolerance, at most 0.05 master units of Z adjustment per corner, at most 10 rounds. X and Y values don’t change. If logging is on, details are appended to CatiBirlestirme.log in the active DGN’s folder.

Section 4

FAQ

What’s the difference between Tek Yapı and Fence İçi Yapılar?

With Tek Yapı, the shape you select is treated as the main building and buildings are processed one by one; the prompt returns after each building. With Fence İçi Yapılar, structures on the main or other building levels whose centre lies inside the fence and that haven’t been processed yet are processed.

Why weren’t some buildings processed?

Processed structures are marked with a fill colour: 7 means processing started, 8 that it finished. While a fence is defined in MicroStation, marked structures are skipped. To process them again, run Element Fill Kaldırma first, and check the level codes and the fence extent.

What happens if I don’t choose a cadastre DGN?

The conversion doesn’t stop, but Kadastro dgn dosyası seçmelisiniz. (“You must select a cadastre DGN file”) appears for each building. The building ID comes from a building ID text inside the footprint in the active drawing if there is one, otherwise from a random identifier; the block is written as 0, and the parcel, MAKS, neighbourhood and land references as −1.

Does the EPSG choice transform the coordinates?

No. The file gets the coordinates from the DGN, and the EPSG code only states which TUREF/TM zone they’re in. The zone also decides which map sheet is searched for terrain triangles. Choose the zone the drawing is actually in.

I previewed again and the surfaces were drawn on top of each other.

Ön İzleme doesn’t delete earlier surfaces. Before previewing again, delete the old surfaces on the BinaCati and BinaDuvar levels.

Is the round-limit message an error?

No. If roof merging doesn’t settle within 10 rounds for a building, the result of the last round is used and the model is still written. Check that building’s roof visually in the DGN.

Can I use these files in SimplexCity Texture?

Yes. The CityGML 2.0 files from Model can be added to SimplexCity Texture as buildings; Texture updates those files in place with photo textures.