first commit

This commit is contained in:
2026-06-23 09:13:51 +03:00
commit f6c7db328f
103 changed files with 1618 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from pydantic import BaseModel, Field
from app.models.common import AntennaPoint, OutputFormat, SurfaceKind
class ViewshedRequest(BaseModel):
observer: AntennaPoint
radius_m: float = Field(gt=0)
target_height_agl: float = Field(default=2, ge=0)
surface: SurfaceKind = "dsm"
k_factor: float = Field(default=1.333, gt=0)
format: OutputFormat = "geotiff"