switch to osmnx

This commit is contained in:
2024-07-07 14:49:10 +02:00
parent 49ce8527a3
commit f9c86261cb
13 changed files with 470 additions and 959 deletions

View File

@@ -1,6 +1,5 @@
from typing import Optional
from pydantic import BaseModel, Field
from .landmarktype import LandmarkType
from uuid import uuid4
@@ -28,3 +27,6 @@ class Landmark(BaseModel) :
time_to_reach_next : Optional[int] = 0 # TODO fix this in existing code
next_uuid : Optional[str] = None # TODO implement this ASAP
def __hash__(self) -> int:
return self.uuid.int