t.vect.db.select(1grass)


NAME

   t.vect.db.select   -  Prints  attributes of vector maps registered in a
   space time vector dataset.

KEYWORDS

   temporal, attribute table, vector, database, select, time

SYNOPSIS

   t.vect.db.select
   t.vect.db.select --help
   t.vect.db.select         input=name           [columns=name[,name,...]]
   [separator=character]          [layer=string]         [where=sql_query]
   [t_where=sql_query]   [--help]  [--verbose]  [--quiet]  [--ui]

   Flags:
   --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

   columns=name[,name,...]
       Name of attribute column(s)

   separator=character
       Field separator character between the output columns
       Special characters: pipe, comma, space, tab, newline
       Default: pipe

   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

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

   t_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'

DESCRIPTION

   The module t.vect.db.select prints attributes of vector maps registered
   in a space time vector dataset.

EXAMPLE

   The example is querying the shoreline space time dataset:
   t.vect.db.select input=shoreline
   start_time|end_time|cat|DESCR|SOURCE|DATE
   1849|1873|1|T-736|NOAA/USGS|01/01/1858
   1849|1873|2|T-657|NOAA/USGS|01/01/1857
   1849|1873|3|T-381(2)|NOAA/USGS|01/01/1852
   1849|1873|4|T-381(1)|NOAA/USGS|01/01/1852
   1849|1873|5|T-381(1)|NOAA/USGS|01/01/1852
   ...
   2009||44|2009 USDA NAIP|2009-07-11|VA, SAND, Wet / Dry
   2009||45|2009 USDA NAIP|2009-07-11|Carolina Beach, SAND, Wet / Dry
   2009||46|2009 USDA NAIP|2009-07-11|Carolina Beach, REVETMENT-ROCK, Hard Structure
   2009||47|2009 USDA NAIP|2009-07-11|Fort Fisher, REVETMENT-ROCK, Hard Structure
   In the following example it print only DATE and SOURCE columns for data
   before 1900-01-01.
   t.vect.db.select input=shoreline column=DATE,SOURCE t_where="start_time < 1900"
   start_time|end_time|DATE|SOURCE
   1849|1873|01/01/1858|NOAA/USGS
   1849|1873|01/01/1857|NOAA/USGS
   1849|1873|01/01/1852|NOAA/USGS
   1849|1873|01/01/1852|NOAA/USGS
   ...
   1849|1873|01/01/1860|NOAA/USGS
   1849|1873|01/01/1860|NOAA/USGS
   1849|1873|01/01/1873|Coastal Carolina University
   1849|1873|01/01/1873|Coastal Carolina University
   1849|1873|01/01/1873|Coastal Carolina University

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.db.select 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.