Query CityObjects
cityjson_queryQuery CityObjects by IDs, types, 2D bounding boxes, or attribute predicates such as eq, gt, contains, and in to retrieve matching subsets from a CityJSON dataset.
Instructions
Query CityObjects natively by IDs, types, 2D bbox and attribute predicates. Attribute predicates support eq, neq, gt, gte, lt, lte, contains and in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| bbox | No | 2D bbox [minX, minY, maxX, maxY] in the dataset CRS. | |
| limit | No | ||
| types | No | ||
| offset | No | ||
| attributes | No | ||
| dataset_id | Yes | Dataset handle returned by cityjson_import, cityjson_open, cityjson_import_text, or another transformation tool. |