import gpxpy import gpxpy.gpx 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 # handles storing a route in db def saveInDB(): pass