Tabular
File
This interface is
used to add a new layer based on a tabular file such as *.csv or
*.dbf . A tabular file does not have a geometry attribute
explicitly, however attributes like latitude, longitude can be used to
form a geometry. Once a input file is chosen it is possible to see a
few data in the Preview section.
Properties section shows all properties names and the default
type suggested. It helps to configure (or change) the data
to its appropriate type or even configuring a new geometry as attribute.
Each combo box
listed beside a property name holds a list of
possible data types. A common use for this is to change the
property type. For example, suppose LAT and LONG are properties of
string type. If both are converted to double, it is possible to used
them to create a point geometry. Thus the original data might not have
spatial properties and be transformed into a spatial data.
It is also possible to select weather or not to import any of the
properties, except for primary key and geometry, if there is one.
It is
accessed through:
Project
> Add Layer
> Tabular File...
- Choose the Input data by clicking over
and find the tabular file *.csv or *.dbf in your file system. After that the input file
is opened and a preview of its content is showed.
- Preview table displays
a few rows of data.
- Select on Properties the desired attributes and choose its type if the default is not adequate.
- Geometry check
box is used to
decide weather or not to create a new geometry based on two properties.
It is only available if this data does not have a geometry property already.
- The Geometry check
box is only available if the input data does not have a geometry property. It is used to
decide weather or not to create a geometry based on existing properties to represent a point:
- X spin box - choose the property that will be used to generate the X axis of a new point.
- Y spin box - choose the property that will be used to generate the Y axis
of a new point.
- SRID - Inform the SRID number or choose one by clicking on the globe icon.
- Ok - It adds a new layer based on the input data and on the configurations defined here.
- Cancel - It closes
the dialog without generating a new layer.