def geoFeatureAdd(): results = convention.findDescription() for result in results: if result == None: continue positionDaoImpl.geoFeatureAdd(result[0], result[1], result[3], result[4], result[5])
def extractCoordinate(): results = convention.findDescription() for result in results: if result != None: coordinate = result[2] if coordinate!= None: co=coordinateRegular.coordinateRegularExtract(coordinate.split(' ')) coordinateRegular.coordinateStandard(co) coordinateDaoImpl.insertCoordinate(result[0],result[1],co) else: continue else: continue
def positionAdd(): results = convention.findDescription() for result in results: if result == None: continue positionDaoImpl.addPosition(result[0], result[1], result[3])
def plantSysnameToWetland(): now = time.strftime("%H:%M:%S") plantRelationDao.findSynonymName(plants.getPlantsSynonym(),convention.findDescription()) end = time.strftime("%H:%M:%S") print (now+","+end)
def metadataToWetlandTest(): now = time.strftime("%M:%S") metadataDao.findWetlandFromdatadata(metadata.getMetadata(),convention.findDescription()) metadataDao.deleteData() end = time.strftime("%M:%S") print (now+","+end)
def literatureDaoTest(): now = time.strftime("%M:%S") literatureDao.findWetlandFromLiterature(literature.getLiterature(),convention.findDescription()) literatureDao.deleteData() end = time.strftime("%M:%S") print (now+","+end)
def animalTest(): now = time.strftime("%M:%S") animalRelationDao.findRelationToConention(animals.getAnimalSciName(),convention.findDescription()) end = time.strftime("%M:%S") print (now+","+end)
def plantsTest(): now=time.strftime("%M:%S") plantRelationDao.findPlantRelation(plants.getPlantsSciName(), convention.findDescription()) end=time.strftime("%M:%S") print (now+","+end)