create_dataset
Initialize a new empty CityJSON or CityGML dataset as a .json or .gml file and load it, ready for adding buildings and saving without overwriting existing files.
Instructions
Erstellt ein neues, leeres Dataset als GML- oder JSON-Datei und lädt es.
Praktisch zum Testen: Danach können direkt mit create_building() Gebäude hinzugefügt und mit save_dataset() gespeichert werden. Bestehende Dateien werden nicht überschrieben.
Args: filename: Name der neuen Datei, Endung '.json' (CityJSON) oder '.gml' (CityGML), z.B. 'test.city.json' title: Optionaler Titel des Datasets epsg: EPSG-Code des Koordinatenreferenzsystems (Standard: 25832 = ETRS89 / UTM 32N)
Returns: str: Erfolgsmeldung oder Fehlermeldung
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>"
},
"name": "create_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epsg | No | ||
| title | No | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |