It is possible to import points from a .csv or .dbf file and use of data exported by CollectEarth.
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.
Go to the menu WORKSPACE → ADD LAYER → TABULAR FILE.
Click on the icon
to locate the desired file.
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. Normally the proper type is Double.
Y spin box - choose the property that will be used to generate the Y axis of a new point. Normally the proper type is Double.
SRID
- Inform the SRID number or choose one by clicking on the globe icon
.
The SRS interface opens and user can choose the proper system
Click on the OK button.
Note: If the new view will be used with a raster view for comparison be sure to setup point table projection accordingly.
If user will need a different point style open the style explorer.
Note: This tool is very useful to import points from a .csv file and use of data exported by CollectEarth. Header line and separator character of the .csv file will be automatically detected by TerraAmazon.