openworld_radio_twin.providers.map_data#
Classes
|
Coordinates search, building, antenna and environment providers. |
- class openworld_radio_twin.providers.map_data.MapDataProvider(settings, client, *, building_sources=None, antenna_sources=None)[source]#
Bases:
objectCoordinates search, building, antenna and environment providers.
- async antennas(latitude, longitude, radius_m, source='auto')[source]#
Antenna records of the resolved source around a scene square, as the source has them.
A resolved source that fails raises; it is not replaced by another source.
- Return type:
- async environment(latitude, longitude, radius_m, spacing_m, include_surfaces, terrain_mode='elevation')[source]#
Return the terrain grid and, when requested, the surface classes on it.
terrain_mode="elevation"samples the DEM providers.terrain_mode="flat"synthesizes a planar grid at local z=0 without querying any elevation source, so surface classes can still be assigned per cell; water bodies then lie in the plane and are represented by their material only.- Return type: