EnglishFrenchSpanish

OnWorks favicon

t.vect.importgrass - Online in the Cloud

Run t.vect.importgrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command t.vect.importgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


t.vect.import - Imports a space time vector dataset from a GRASS GIS specific archive
file.

KEYWORDS


temporal, import, vector, time

SYNOPSIS


t.vect.import
t.vect.import --help
t.vect.import [-eoc] input=name output=name [basename=string] directory=name
[title=string] [description=string] [location=string] [--overwrite] [--help]
[--verbose] [--quiet] [--ui]

Flags:
-e
Extend location extents based on new dataset

-o
Override projection check (use current location’s projection)
Assume that the dataset has same projection as the current location

-c
Create the location specified by the "location" parameter and exit. Do not import the
space time vector datasets.

--overwrite
Allow output files to overwrite existing files

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
input=name [required]
Name of input file

output=name [required]
Name of the output space time vector dataset

basename=string
Basename of the new generated output maps
A numerical suffix separated by an underscore will be attached to create a unique
identifier

directory=name [required]
Path to the extraction directory

title=string
Title of the new space time dataset

description=string
Description of the new space time dataset

location=string
Create a new location and import the data into it. Do not run this module in parallel
or interrupt it when a new location should be created

DESCRIPTION


t.vect.import imports a space time vector dataset archive that was exported with
t.vect.export.

NOTES


Optionally a base map name can be provided to avoid that existing vector maps are
overwritten by the map names that are used in the STRDS archive.

The directory is used as work directory in case of import but can also be used as a data
directory when using GML for the data exchange.

EXAMPLE


In this example, five vector maps are created and registered in a single space time vector
dataset named random_locations. Each vector map represents random locations within the
boundary of the state taken at 1 month intervals. The space time dataset is then exported
and re-imported.
db.connect -d
for i in `seq 1 5` ; do
v.random output=map_$i n=500 input=boundary_state@PERMANENT
echo map_$i >> map_list.txt
done
t.create type=stvds temporaltype=absolute \
output=random_locations \
title="Random locations" \
description="Vector test dataset with random locations"
t.register -i type=vector input=random_locations \
file=map_list.txt start="2012-01-01" increment="1 months"
t.vect.list random_locations
t.vect.export input=random_locations output=random_locations.tar.gz \
compression=gzip
t.vect.import input=random_locations.tar.gz output=new_random_locations \
basename=new_map directory=/tmp
t.vect.list new_random_locations
id|name|layer|mapset|start_time|end_time
new_map_1@user1|new_map_1|None|user1|2012-01-01 00:00:00|2012-02-01 00:00:00
new_map_2@user1|new_map_2|None|user1|2012-02-01 00:00:00|2012-03-01 00:00:00
new_map_3@user1|new_map_3|None|user1|2012-03-01 00:00:00|2012-04-01 00:00:00
new_map_4@user1|new_map_4|None|user1|2012-04-01 00:00:00|2012-05-01 00:00:00
new_map_5@user1|new_map_5|None|user1|2012-05-01 00:00:00|2012-06-01 00:00:00

Use t.vect.importgrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 2
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 3
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 4
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • 5
    GLPI Themes
    GLPI Themes
    Download release at
    https://github.com/stdonato/glpi-modifications/
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 6
    SMPlayer
    SMPlayer
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    SMPlayer:...
    Download SMPlayer
  • More »

Linux commands

Ad