Attributes Table

When this module is activated, it records some information used during the session. So, the next time you use it, the following information is retrieved:

  • Visualization Mode
  • Visible Columns
  • Selected columns for a graphic
  • Initial line and column for the visualization window
  • Color marks for the tuples
  • Current color

Note: The selected tuples (table lines) will be highlighted on the map only if you press the Draw button.

Note: In the new Spring version, the Objects Table is a docking table; that is, it can be floating or docked at the main window.

.

Query Model


Selecting and Showing Data

Using this interface the user will be able to choose between examining the attributes of all objects (Show All) or only the ones that satisfy a condition stated by the Query Module (Selected). For instance, the user can use the Query Model to show the attributes of all districts whose population have income greater than 5 minimum wages and then select to see all districts or only the ones that satisfy the query condition.

Showing the data in a Table:

  1. select an object category on the "Visualizing Objects" window;
  2. click on Edit on the "Visualizing Objects" window and select Table.... Notice that if the Table is already an icon, you have to maximize this window. Usually the system presents the last option used during the last SPRING session.

Sorting objects

  1. select the attribute you want to sort pressing the mouse right button on the attributes name.
  2. select Sorting and then choose between ascending or descending.

Back to top


Statistics

To see the statistics you have to click with the mouse right button over a selected attribute name. Choose the option Statistics.... The Data Report window is presented and the following statistics parameters are presented:

  • Number of SAMPLES
  • Number of ABSENCES
  • MINIMUM
  • MEDIAN
  • MAXIMUM
  • TOTAL SUM
  • AVERAGE
  • STANDARD DEVIATION
  • COEFICIENTE of VARIATION

NOTA: For alphanumeric attributes, only the number of samples and absences will be presented.

Back to top


Inserting color marks

To mark an object over the Table and show its representations on the map, you should click on the tuple number on the left side of the table. It is possible to use up to five different colors. To each mark added to the table, the module paints the tuple with the correspondent color.

The color must be chosen beforehand, by pointing the mouse over the color selection button, then choosing and activating the desired color.

Selecting object on the Table:

  • select an object category at the "Visualizing Objects" window;
  • click on Edit and select Table... .
  • select a color using the color selection button.
  • select a tuple by pressing the mouse left button over the first column of the Table; the line is highlighted with the active color and the map is painted in accordance with your choice.

NOTE: On the example above each geo-object was highlighted with a different color. You can use the same color to highlight several geo-objects though, putting together groups of geographic objects.

Selecting and marking set of objects:

There are two different ways of selecting a set of objects:

  • select a color on the color selection button;
  • select a tuple by pressing and holding the mouse left button on the first Column of the Table;
  • drag o the mouse vertically and select some of the tuples, releasing the mouse when done. The selected tuples will be marked with the active color (as well ad the correspondents objects on the map).

The other way is:

  • select a color on the color selection button;
  • select a tuple by pressing the mouse left button on the first Column of the Table; release the mouse button;
  • press the SHIFT key on the second tuple. All lines between the first and second selection will be marked.

Canceling the marks:

If you repeat the steps above over the marked tuples, you will cancel their marks (there will be an inversion of marks).

Another way of canceling the marks would be:

  1. select a selected tuple by pressing the mouse left button over the first column of the Table (release the mouse button). The tuple is not marked anymore.
  2. press the SHIFT key and select another tuple. The marks in all lines between the first and second selection will be cancelled.

OBS: the first procedure performs a toggle function while the second does not: the tuples are either all selected (marked) or not. When the user wants to select many tuples that are contiguous on the table, this procedure becomes very convenient. Before pressing the shift key the user must go further on the table and only then press the shift key to select other tuples.

Removing the marks on the table:

This option allows two other ways of removing marks from the Table. Press the first column using the mouse right button, select the option Remove and choose between All colors or Current color.

Moving the table marks:

The selected tuples can be moved to the beginning or end of the table. Press the first column using the mouse right button, select the option Move and then, you will see the following options: All to Begin, All to End, Current to Begin or Current to End.

Zoom through Table Marks:

The marked tuples can be used for zooming the map. Press the first column using the mouse right button, select the option Zoom and choose between All colors or Current color. The first option zooms the map, showing all marked geo-objects, while the second option only presents the portion of the map marked with the current color.

Back to top


Graphic

This module has three types of graphic:

  • histogram
  • scatter plot
  • pie chart

Histogram

To use the histogram option, you must choose a numeric field (attribute or column) on the table. The histogram is presented on the Graphic window and shows the coordinates axis, X being the selected attribute and Y the frequency.

Showing the Histogram of an attribute:

  1. remove all marks (check the topic removing the marks on the table).
  2. select the numeric field by pressing with the mouse left button on the name of the attribute (first line of the table). Press with the mouse right button the first line of the table and choose Graphic... at the dialog box. The histogram is presented on the Graphic window and the chosen column is highlighted.

NOTE: To obtain an histogram of another attribute you should repeat the operation above, selecting a new column

The following histogram shows the Population attribute, in the city of Brasília.

cons0017.gif - 8073,0 K
Configure your Chart


Scatter Plot

To obtain a Scatter Plot, the user must remove all marked lines and select two columns, i.e., marking two attributes.

Defining a Scatter Plot:

  1. remove all marks (check the topic removing the marks on the table);
  2. select the first field by pressing with the mouse left button on the name of the attribute (first line of the table);
  3. follow the previous step and select the second attribute;
  4. Press with the mouse right button the first line of the table and choose Graphic... at the dialog box. The Scatter Plot is shown on the Graphic window.

The figure below shows the Table window with the attributes Area and Population, in the city of Brasília, already selected.

The figure below show the Scatter Plot of 'Area x Population” in the city of Brasília:

cons0020.gif - 809,0 K
Configure your Chart

NOTE: Other scatter plots can be obtained by selecting any other numeric attributes available.

To remove the highlight from the columns, select them again with the mouse and the toggle function will be performed.


Pie Chart

To obtain this kind of graphic the user should mark some tuples (lines) on the Table and the colors will be used to represent the pie "slices".

Defining a Pie Chart of one Attribute:

  1. mark some tuples (check the item Selecting and marking set of objects);
  2. Press with the mouse right button the first line of the table and choose Graphic... at the dialog box. The Pie Chart is shown on the Graphic window.

The next figure shows an example of pie chart (Population attribute).

cons0018.gif - 5671,0 K
Configure your Chart


Hiding Table Columns:

  • Press with the mouse right button the first line of the table and choose Hide Column.

Showing Table Columns:

  • Press with the mouse right button the first line of the table and choose Show Columns... A dialog box is presented containing a list of all Table Columns. Observe that the showed columns are highlighted and the others are not. Use the mouse to activate or not them and the Table will be automatically updated.

Exporting Attributes Table

Exporting:

There are 3 format options for exporting the Attributes Table: ASCII bounded, ASCII Spring and SpringWeb.

The ASCII bounded format can be used by other software such as Excel. The file is saved as text and the fields are separated by semicolons:

    "ID";"NAME";"LABEL";"AREA";"PERIMETER";
    66;"26";"26";6177995.5000;10835.0586;
    51;"11";"11";11994035.0000;14394.0498;

The ASCII SPRING format allows exchange of information between SPRING databases. It is a text file with extension _TAB.spr and it describes attributes, separated by semi colons, as showed below:

TABLE
INFO
// Attributes Table ASCII generated by SPRING
SEPARATOR ;
UNFORMATED
CATEGORY_OBJ   district
T_NAME ; TEXT ; 32 ;
T_KEY ; TEXT ; 32 ;
AREA ; TEXT ; 4 ;
COD ; TEXT ; 3 ;
DENO ; TEXT ; 25 ;
POP_Density ; REAL ;
INFO_END
26 ; 26 ; 232 ; 6192 ; JDP ; JARDIM PAULISTA ; 146.33000 ;
11 ; 11 ; 230 ; 1202 ; SOC ; SOCORRO ; 29.75000 ;
END

The SpringWeb format makes the data available through the Internet using SpringWeb. When the table is exported, two files are created: '.map' and '.att ' extensions, SpringWeb standard.

Follow the steps below to export a Table:

  • Press the Export as... button and select ASCII bounded, ASCII Spring or SpringWeb. The dialog box Save As is presented. You must select the directory and name of the file and the press Save.

Collection Generation

The option File - Collection Generation on the menu of the window "Table:<object>" is used to create a new collection from the objects listed on the table. The window "Collection Generation" is presented and allows to create object collections based on their Attributes or bounding box defined by the zoom cursor. The data on the table can also be restricted because the system allows spatial queries applied over attributes queries and vice-versa.

Once the user has selected the objects, he can create collection in three different ways:

  • All Table: all items from the table.
  • Marks: only the tuples (lines) marked with any color.
  • Current Color: only the tuples (lines) marked with the current color.

Check how to generate a collection from the table.


Infolayer Generation

This option is used to generate Thematic or Cadastral Information Layers from Grouping or Spatial Query performed over geo-objects.

Once you have performed a grouping or attributes query over geo-objects, it is possible to transform these procedures in other ILs, associated to the categories Thematic and Cadastral. The Thematic category and its classes might exist or be automatically created by this function.

Check how to generate an information layer from a table.


 

Back to top

See also:

Database Query
How to control Objects Visualization .
Attributes Query.
Spatial Query
Attributes Table.
Pointing and Photo Module.

Query Models.