def __init__(self, item, db): DBItem.__init__(self, item, db) self.time = item[TIME_KEY] self.lat = item[LAT_KEY] self.lon = item[LON_KEY] self.mLat = getMeters(self.lat) self.mLon = getMeters(self.lon) self.fileNum = item[FILE_NUM_KEY]
def __init__(self, lat, lon): self.lat = lat self.lon = lon self.mLat = getMeters(lat) self.mLon = getMeters(lon)