Table to point map
Functionality / Algorithm
The table to point map operation creates a point map out of a table.
This operation is designed to obtain a point map from external data which has been imported into ILWIS as a table.
Coordinates of points in output point map:
The coordinates for the points in the output point map should be available in the input table.
The input table should therefore contain either:
- a single column with the XY-coordinates for the points as (X,Y);
any point map created or edited in ILWIS version 3 has such a column: it is called Coordinate and the column uses a coordinate system as its domain;
- a column with X-coordinates and another column with Y-coordinates for the points;
these columns should use a value domain.
Class names, IDs or values of points in output point map:
In case your input table uses an ID domain, you can choose whether the points in the output point map:
- should obtain the same IDs as found in the domain of the input table, or
- should obtain the class names, IDs, or values as found in an attribute column of the table.
In case your input table is a table with domain None, you can choose whether the points in the output point map:
- should obtain new IDs, based on a user-specified prefix followed by the record numbers of the table, or
- should obtain the class names, IDs, or values as found in an attribute column of the table.
In case your input table uses any other domain, e.g. a class domain, the points in the output point map:
- will obtain the class names, IDs, or values as found in an attribute column of the table.
Input table requirements:
The input table should have either:
- a column which contains the XY-coordinates for the points as (X,Y); this type of column uses a coordinate system as its domain, or
- a value column which contains the X-coordinates for the points and another value column which contains the Y-coordinates for the points.
Domain and coordinate system of output point map:
During the operation, you will need to specify the domain that should be used by the output point map. The point may use:
- the same ID domain as an input ID table,
- a new ID domain in which the IDs are based on the record numbers in the table and a user-specified prefix (when the input table has domain None).
- any class, ID, or value domain of a selected column from the input table (when the input table uses a class or ID domain or when the input table uses domain None),
The coordinate system used by the output point map:
- is either the coordinate system which is the domain of a single selected XY-coordinate column,
- or, when using two separate columns to specify X-coordinates and Y-coordinates respectively, a coordinate system specified by the user.
Attribute table for output map:
The input table will be linked as an attribute table to the output point map:
- when the input table uses an ID domain, and when you choose to obtain a point map in which the points will have the same IDs as found in the domain of the input table;
- when the input table uses domain None, and when you choose to use the record numbers of the table as identifiers (new ID domain); the IDs will consist of a user-specified prefix followed by the record numbers as found in the input table.
In this case, the domain of the input table will be automatically changed from domain None to the new ID domain.
Limitation:
Currently, the operation can only handle tables with extension .TBT.
Tip (for advanced users):
To convert the tiepoints in a georef tiepoints to a point map, you can do for instance the following:
- Open the georef tiepoints as a table.
- In the table window, make the command line visible and type the following expression:
Coord = coord(X,Y)
- In the Column Properties dialog box, select a coordinate system in which these coordinates fit, e.g. the coordinate system of the georef tiepoints.
- Create a point map using the same coordinate system and create an ID domain with the same number as items as the number of tiepoints in your georef tiepoints.
- When the point editor opens, close it.
- Open the point map as a table and add the same number of records to the table as the numbers of tiepoints in your georef tiepoints.
- To copy the coordinates of the points:
- In the tiepoints table, select all fields of column Coord, press the right mouse button and choose Copy.
- In the point map table, select all fields of column Coordinate, press the right mouse button and choose Paste.
- To obtain the IDs of the control points:
- In the point map table, make the command line visible and type the following expression:
Name = %k
- Close both table windows and open the point map as usual.
See also:
Table to point map : dialog box
Table to point map : command line