コード例 #1
0
def main():
    # lazy imports
    import grass.temporal as tgis

    # Get the options
    input = options["input"]
    output = options["output"]
    directory = options["directory"]
    title = options["title"]
    descr = options["description"]
    location = options["location"]
    base = options["basename"]
    exp = flags["e"]
    overr = flags["o"]
    create = flags["c"]

    tgis.init()

    tgis.import_stds(
        input,
        output,
        directory,
        title,
        descr,
        location,
        None,
        exp,
        overr,
        create,
        "stvds",
        base,
    )
コード例 #2
0
ファイル: t.vect.import.py プロジェクト: starseeker/archival
def main():

    # Get the options
    input = options["input"]
    output = options["output"]
    extrdir = options["extrdir"]
    title = options["title"]
    descr = options["description"]
    location = options["location"]
    base = options["basename"]
    exp = flags["e"]
    overr = flags["o"]
    create = flags["c"]

    tgis.init()

    tgis.import_stds(input, output, extrdir, title, descr, location,
                     None, exp, overr, create, "stvds", base)
コード例 #3
0
ファイル: t.vect.import.py プロジェクト: rashadkm/grass_cmake
def main():

    # Get the options
    input = options["input"]
    output = options["output"]
    directory = options["directory"]
    title = options["title"]
    descr = options["description"]
    location = options["location"]
    base = options["basename"]
    exp = flags["e"]
    overr = flags["o"]
    create = flags["c"]

    tgis.init()

    tgis.import_stds(input, output, directory, title, descr, location,
                     None, exp, overr, create, "stvds", base)
コード例 #4
0
ファイル: t.rast.import.py プロジェクト: rashadkm/grass_cmake
def main():

    # Get the options
    input = options["input"]
    output = options["output"]
    directory = options["directory"]
    title = options["title"]
    descr = options["description"]
    location = options["location"]
    base = options["basename"]
    set_current_region = flags["r"]
    link = flags["l"]
    exp = flags["e"]
    overr = flags["o"]
    create = flags["c"]

    tgis.init()

    tgis.import_stds(input, output, directory, title, descr, location, link,
                     exp, overr, create, "strds", base, set_current_region)
コード例 #5
0
ファイル: t.rast.import.py プロジェクト: rashadkm/grass_cmake
def main():

    # Get the options
    input = options["input"]
    output = options["output"]
    directory = options["directory"]
    title = options["title"]
    descr = options["description"]
    location = options["location"]
    base = options["basename"]
    set_current_region = flags["r"]
    link = flags["l"]
    exp = flags["e"]
    overr = flags["o"]
    create = flags["c"]

    tgis.init()

    tgis.import_stds(input, output, directory, title, descr, location,
                     link, exp, overr, create, "strds", base, 
                     set_current_region)