t.vect.extract(1grass)


NAME

   t.vect.extract  - Extracts a subset of a space time vector dataset.

KEYWORDS

   temporal, extract, vector, time

SYNOPSIS

   t.vect.extract
   t.vect.extract --help
   t.vect.extract         [-n]        input=name         [where=sql_query]
   [expression=sql_query]            output=name            [layer=string]
   [type=string[,string,...]]       [basename=string]      [suffix=string]
   [nprocs=integer]    [--overwrite]   [--help]   [--verbose]    [--quiet]
   [--ui]

   Flags:
   -n
       Register empty maps

   --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 the input space time vector dataset

   where=sql_query
       WHERE  conditions  of SQL statement without 'where' keyword used in
       the temporal GIS framework
       Example: start_time > '2001-01-01 12:30:00'

   expression=sql_query
       WHERE conditions of SQL statement without 'where' keyword
       Example: income < 1000 and inhab >= 10000

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

   layer=string
       Layer number or name
       Vector features can have category values in different layers.  This
       number  determines  which  layer  to use. When used with direct OGR
       access this is the layer name.
       Default: 1

   type=string[,string,...]
       Input feature type
       Options: point, line, boundary, centroid, area
       Default: point,line,boundary,centroid,area

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

   suffix=string
       Suffix  to  add at basename: set 'gran' for granularity, 'time' for
       the full time format, 'num' for numerical suffix  with  a  specific
       number of digits (default %05)
       Default: gran

   nprocs=integer
       The  number  of v.extract processes to run in parallel. Use only if
       database backend is used which supports concurrent writing
       Default: 1

DESCRIPTION

   The purpose of t.vect.extract is to extract a subset of  a  space  time
   vector  dataset  and  to  store  that  subset in a different space time
   vector dataset.

EXAMPLE

   In the following example a new space time vector dataset will be create
   with all the data later than 2000:
   t.vect.extract input=shoreline where="start_time > 2000" \
                  output=shoreline_later_2000 basename=new_shoreline
   t.info shoreline_later_2000@shoreline type=stvds
    +-------------------- Space Time Vector Dataset -----------------------------+
    |                                                                            |
    +-------------------- Basic information -------------------------------------+
    | Id: ........................ shoreline_later_2000@shoreline
    | Name: ...................... shoreline_later_2000
    | Mapset: .................... shoreline
    | Creator: ................... lucadelu
    | Temporal type: ............. relative
    | Creation time: ............. 2014-11-29 08:43:50.043219
    | Modification time:.......... 2014-11-29 08:43:50.085407
    | Semantic type:.............. mean
    +-------------------- Relative time -----------------------------------------+
    | Start time:................. 2003
    | End time:................... 2009
    | Relative time unit:......... years
    | Granularity:................ 1
    | Temporal type of maps:...... point
    +-------------------- Spatial extent ----------------------------------------+
    | North:...................... 1039175.31479
    | South:...................... 34705.216018
    | East:.. .................... 3052322.44671
    | West:....................... 2130004.16779
    | Top:........................ 0.0
    | Bottom:..................... 0.0
    +-------------------- Metadata information ----------------------------------+
    | Vector register table:...... vector_map_register_8395740fc8de42149fef74a3d25bbb05
    | Number of points ........... 0
    | Number of lines ............ 407
    | Number of boundaries ....... 0
    | Number of centroids ........ 0
    | Number of faces ............ 0
    | Number of kernels .......... 0
    | Number of primitives ....... 407
    | Number of nodes ............ 767
    | Number of areas ............ 0
    | Number of islands .......... 0
    | Number of holes ............ 0
    | Number of volumes .......... 0
    | Number of registered maps:.. 3
    |
    | Title:
    | North Carolina shoreline
    | Description:
    | North Caroline shoreline from 2000 to 2009
    | Command history:
    | # 2014-11-29 08:43:50
    | t.vect.extract input="shoreline"
    |     where="start_time > 2000" output="shoreline_later_2000"
    |     basename="new_shoreline"
    | # 2014-11-29 08:44:14
    | t.support type="stvds"
    |     input="shoreline_later_2000@shoreline"
    |     descr="North Caroline shoreline from 2000 to 2009"
    +----------------------------------------------------------------------------+
   t.vect.list shoreline_later_2000
   name|layer|mapset|start_time|end_time
   shoreline_2003|None|shoreline|2003|None
   shoreline_2004|None|shoreline|2004|None
   shoreline_2009|None|shoreline|2009|None

SEE ALSO

    t.create, t.info

AUTHOR

   Sren Gebbert, Thnen Institute of Climate-Smart Agriculture

   Last changed: $Date: 2015-09-22 10:10:38 +0200 (Tue, 22 Sep 2015) $

SOURCE CODE

   Available at: t.vect.extract source code (history)

   Main index | Temporal index | Topics index | Keywords index | Graphical
   index | Full index

    2003-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.