예제 #1
0
def classFactory(iface):
    # Add the directory that this file live in to the start of sys.path
    # so that imports can be relative and our modules have the highest priority
    sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
    # Load gazetteerSearch class from file gazetteerSearch
    from gazetteersearch import gazetteerSearch
    return gazetteerSearch(iface)
예제 #2
0
def classFactory(iface):
    # Add the directory that this file live in to the start of sys.path
    # so that imports can be relative and our modules have the highest priority
    sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
    # Load gazetteerSearch class from file gazetteerSearch
    from gazetteersearch import gazetteerSearch
    return gazetteerSearch(iface)
def classFactory(iface):
    # Load gazetteerSearch class from file gazetteerSearch
    from gazetteersearch import gazetteerSearch
    return gazetteerSearch(iface)