openworld_radio_twin.providers.three_d_bag#

3DBAG CityJSON LoD2.2 acquisition and source-preserving geometry decoding.

Functions

decode_feature(feature, metadata)

Decode only LoD2.2, retaining source Z in NAP and semantic triangles.

Classes

ThreeDBagProvider(client)

Read paginated official API responses with bounded request concurrency.

openworld_radio_twin.providers.three_d_bag.decode_feature(feature, metadata)[source]#

Decode only LoD2.2, retaining source Z in NAP and semantic triangles.

The parent LoD0 footprint is not emitted as another building. Unsupported or invalid geometry raises instead of silently becoming a LoD1 extrusion.

Return type:

list[BuildingFeature]

class openworld_radio_twin.providers.three_d_bag.ThreeDBagProvider(client)[source]#

Bases: object

Read paginated official API responses with bounded request concurrency.

async buildings(latitude, longitude, radius_m, limit)[source]#
Return type:

BuildingQueryResult