added vegetation

This commit is contained in:
2026-06-23 15:31:40 +03:00
parent c7435955c3
commit b230f7277c
9 changed files with 101 additions and 2 deletions
Binary file not shown.
+17
View File
@@ -59,6 +59,22 @@ class Obstruction(BaseModel):
type: Literal["terrain", "building", "canopy"]
class FresnelProfileSample(BaseModel):
i: int
lat: float
lon: float
distance_m: float
surface_m: float
path_height_m: float
obstacle_height_m: float
clearance_m: float
fresnel_radius_m: float
required_clearance_m: float
fresnel_lower_60pct_m: float
fresnel_lower_100pct_m: float
type: Literal["terrain", "building", "canopy"]
class LosResponse(BaseModel):
los_clear: bool
geometric_los: bool
@@ -66,6 +82,7 @@ class LosResponse(BaseModel):
worst_obstruction: Obstruction | None
obstructions: list[Obstruction]
geometric_obstructions: list[Obstruction]
fresnel_profile: list[FresnelProfileSample]
fresnel_violations_count: int
geometric_obstructions_count: int
building_obstructions_count: int