openworld_radio_twin.providers.berlin#

Berlin’s official tiled CityGML LoD2 buildings, retaining source geometry.

Functions

decode_building(node, *[, parent_id, inherited])

Decode owned semantic surfaces once, not duplicate lod2Solid XLinks.

decode_tile(content, bounds)

Stream one CityGML tile; reject/report whole invalid parent records.

tile_index(content)

Use only tile links actually advertised by the official Atom service.

Classes

BerlinProvider(client)

Acquire intersecting tiles only, with bounded I/O and per-instance reuse.

openworld_radio_twin.providers.berlin.tile_index(content)[source]#

Use only tile links actually advertised by the official Atom service.

Return type:

tuple[dict[tuple[int, int], str], str]

openworld_radio_twin.providers.berlin.decode_building(node, *, parent_id=None, inherited=None)[source]#

Decode owned semantic surfaces once, not duplicate lod2Solid XLinks.

openworld_radio_twin.providers.berlin.decode_tile(content, bounds)[source]#

Stream one CityGML tile; reject/report whole invalid parent records.

class openworld_radio_twin.providers.berlin.BerlinProvider(client)[source]#

Bases: object

Acquire intersecting tiles only, with bounded I/O and per-instance reuse.

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