init
This commit is contained in:
13
tools/pretraining_data_builder/rsi_download/geo/geo_types.py
Normal file
13
tools/pretraining_data_builder/rsi_download/geo/geo_types.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from typing import List
|
||||
|
||||
import msgspec
|
||||
|
||||
|
||||
class Coordinate(msgspec.Struct):
|
||||
long: float
|
||||
lat: float
|
||||
|
||||
|
||||
class GeoJsonPolygon(msgspec.Struct):
|
||||
type: str
|
||||
coordinates: List[List[List[float]]]
|
||||
Reference in New Issue
Block a user