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])
Exemple #4
0
def plantSysnameToWetland():
    now = time.strftime("%H:%M:%S")
    plantRelationDao.findSynonymName(plants.getPlantsSynonym(),convention.findDescription())
    end = time.strftime("%H:%M:%S")
    print (now+","+end)
Exemple #5
0
def metadataToWetlandTest():
    now = time.strftime("%M:%S")
    metadataDao.findWetlandFromdatadata(metadata.getMetadata(),convention.findDescription())
    metadataDao.deleteData()
    end = time.strftime("%M:%S")
    print (now+","+end)
Exemple #6
0
def literatureDaoTest():
    now = time.strftime("%M:%S")
    literatureDao.findWetlandFromLiterature(literature.getLiterature(),convention.findDescription())
    literatureDao.deleteData()
    end = time.strftime("%M:%S")
    print (now+","+end)
Exemple #7
0
def animalTest():
    now = time.strftime("%M:%S")
    animalRelationDao.findRelationToConention(animals.getAnimalSciName(),convention.findDescription())
    end = time.strftime("%M:%S")
    print (now+","+end)
Exemple #8
0
def plantsTest():
    now=time.strftime("%M:%S")
    plantRelationDao.findPlantRelation(plants.getPlantsSciName(), convention.findDescription())
    end=time.strftime("%M:%S")
    print (now+","+end)