feat: ✨ implemented pwa capabillities and refactored lots of backend things
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
class gpxInterpreter:
|
||||
def __init__(self):
|
||||
import gpxpy
|
||||
import gpxpy.gpx
|
||||
|
||||
def processFile(self, file):
|
||||
return True
|
||||
class GPXHandler:
|
||||
__dbSession: Session
|
||||
|
||||
def __init__(self, session:Session):
|
||||
self.__dbSession = session
|
||||
pass
|
||||
|
||||
# handles converting a gpx file into usable data
|
||||
def parse(self, file):
|
||||
self.gpx = gpxpy.parse(file)
|
||||
pass
|
||||
|
||||
# handles a route from db and converting it into geoJSON
|
||||
def getRoute(self, route):
|
||||
pass
|
||||
|
||||
def importDataInDB(self, data):
|
||||
return True
|
||||
# handles storing a route in db
|
||||
def saveInDB():
|
||||
pass
|
||||
Reference in New Issue
Block a user