Choose the cadastre DGN so building IDs are read correctly
How the building ID, block, parcel, MAKS and TAKBİS values are read from the cadastre DGN, and what happens without it.
The identifiers in the CityGML files are read from the texts and boundaries in the file you choose in the Kadastro DGN (cadastre DGN) field. Because the building ID also names the file, it matters that the cadastre DGN is prepared correctly.
Choose the cadastre DGN
- Choose CityGML Dönüştürme (CityGML conversion) from the Yapılacak İşlem (operation) list. Kadastro DGN is the first parameter row.
- Press the ... button. The Dosyalar (Files) window opens in the active DGN’s folder and shows only
*.dgnfiles. - Choose the cadastre DGN. You can also type the path into the field.
- Press Başlat (Start). If the file isn’t attached as a reference, the add-in attaches it as a coincident reference with its levels turned off. If a reference with the same name is already attached, that one is used.
Where each value comes from
| Value (GML attribute) | What’s looked for in the cadastre DGN | If not found |
|---|---|---|
Building ID (constructionID, file name) | A text on the YapıID level inside the building shape | If the cadastre DGN has no building ID text around the building, the active drawing is checked; if there’s none there either, a random identifier (GUID) is used. |
MAKS ID (maksIdentityNumber) | A text on the MaksKimlikNo level inside the building shape | −1 |
Block (blockNumber) | The ParselSınırı shape that contains the building’s centre, and the AdaNo text inside it | 0 |
Parcel (parcelNumber) | The ParselNo text inside the same parcel boundary | −1 |
Land reference (takbisPropertyIdentityNumber) | The ZeminRef text inside the same parcel boundary | −1 |
Neighbourhood reference (takbisNeighbourhoodReference) | The MahalleSınırı shape that contains the building’s centre, and the MahalleRef text inside it | −1 |
If the building’s centre lies inside more than one parcel or neighbourhood boundary, the one with the smallest area is used. The MAKS ID, land reference and neighbourhood reference are written to the file as whole numbers.
If you don’t choose a cadastre DGN
If the field is empty, the conversion doesn’t stop; Kadastro dgn dosyası seçmelisiniz. (“You must select a cadastre DGN file”) appears for each building. Values that can’t be read are written as shown in the table above. If no building ID is found, the file name is built from the random identifier too. In that case, choose the right file and convert again.
The cadastre DGN’s folder is used for two more things: the map-sheet DGNs with the terrain triangles are looked for there, and the gmlDonusum.log file is written there.