added vegetation

This commit is contained in:
2026-06-23 13:57:33 +03:00
parent 0c9fc22d22
commit c7435955c3
32 changed files with 336 additions and 15 deletions
+3 -2
View File
@@ -1,12 +1,12 @@
from pydantic import BaseModel, Field
from app.models.common import Point
from app.models.common import DataSources, Point
class LandcoverPathRequest(BaseModel):
start: Point
end: Point
samples: int = Field(default=256, ge=2, le=10000)
samples: int = Field(default=256, ge=2, le=2048)
class LandcoverSegment(BaseModel):
@@ -20,3 +20,4 @@ class LandcoverSegment(BaseModel):
class LandcoverPathResponse(BaseModel):
segments: list[LandcoverSegment]
vegetation_depth_m: float
data_sources: DataSources = Field(default_factory=DataSources)