mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-23 04:06:37 +00:00
feat: stage5 — Satellite tiles (F04) and Coordinates (F13)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
"""Satellite domain schemas."""
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from gps_denied.schemas import GPSPoint
|
||||
|
||||
|
||||
class TileCoords(BaseModel):
|
||||
"""Web Mercator tile coordinates."""
|
||||
x: int
|
||||
y: int
|
||||
zoom: int
|
||||
|
||||
|
||||
class TileBounds(BaseModel):
|
||||
"""GPS boundaries of a tile."""
|
||||
nw: GPSPoint
|
||||
ne: GPSPoint
|
||||
sw: GPSPoint
|
||||
se: GPSPoint
|
||||
center: GPSPoint
|
||||
gsd: float # Ground Sampling Distance (meters/pixel)
|
||||
Reference in New Issue
Block a user