Convert CityJSON to CityGML
cityjson_to_citygmlConvert an opened CityJSON dataset to CityGML using citygml-tools to support CityGML-based 3D city model workflows.
Instructions
Convert an opened CityJSON dataset to CityGML using citygml-tools. The installed citygml-tools version controls the default target encoding.
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": {
"dataset_id": "<dataset_id>"
},
"name": "cityjson_to_citygml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs_name | No | ||
| dataset_id | Yes | Filename returned by cityjson_open, cityjson_import, or a transformation. Internal dataset handles also work for compatibility. | |
| output_directory | No |