Table to point map

Command line

The Table to Point Map operation can be directly executed by typing one of the following 9 expressions on the command line of the Main window:

To obtain an ID point map with linked attribute table,
from a table with an ID domain:

 

OUTMAP

=

PointMapFromTable(InputTableName, XYcolumn)

OUTMAP

=

PointMapFromTable(InputTableName, Xcolumn, Ycolumn, CoordinateSystem)

OUTMAP

=

PointMapFromTable(InputTableName, CoordinateSystem)

where:

OUTMAP

is the name of the output point map.

PointMapFromTable

is the command to start the Table to Point Map operation.

InputTableName

is the name of your input table (table with an ID domain).

The output point map will use this ID domain and the table will be linked as attribute table to the output point map.

XYcolumn

is the parameter to specify the name of a column which contains the XY-coordinates as (X,Y) for the points in the output map; this column uses a coordinate system as its domain.

Xcolumn

is the parameter to specify the name of the column which contains X-coordinates for the points in the output map; the column should use a value domain. The parameter does not have to be specified when the input table has a column named X which contains the X-coordinates for the points.

Ycolumn

is the parameter to specify the name of the column which contains Y-coordinates for the points; the column should use a value domain. The parameter does not have to be specified when the input table has a column named Y which contains the Y-coordinates for the points.

CoordinateSystem

when not using an XYcolumn, the parameter to specify an existing coordinate system for the output point map.

To obtain an ID point map with linked attribute table,
from a table with domain None:

 

OUTMAP

=

PointMapFromTable(InputTableName, XYcolumn [, Prefix])

OUTMAP

=

PointMapFromTable(InputTableName, Xcolumn, Ycolumn, CoordinateSystem [, Prefix])

OUTMAP

=

PointMapFromTable(InputTableName, CoordinateSystem [, Prefix])

where:

InputTableName

is the name of your input table (table with domain None).

A new ID domain will be created in which the IDs consist of a prefix followed by the record numbers as found in the input table. The new ID domain will automatically obtain the same name as specified for the output point map.

The output point map will use this new ID domain. Furthermore, the domain of the input table will change from domain None to the new ID domain, and the table will be linked as attribute table to the output point map.

Prefix

is an optional parameter to specify a user-defined prefix for the IDs in the new output ID domain. The square brackets are only used to indicate that it is an optional parameter; the brackets should not be used in an expression on the command line.

If not specified, the prefix will be set to Pnt.

For other parameters, see above.

To obtain a point map with the domain of a column in the table:

 

OUTMAP

=

PointMapFromTable(InputTableName, XYcolumn, AttributeColumn)

OUTMAP

=

PointMapFromTable(InputTableName, Xcolumn, Ycolumn, CoordinateSystem, AttributeColumn)

OUTMAP

=

PointMapFromTable(InputTableName, CoordinateSystem, AttributeColumn)

where:

InputTableName

is the name of your input table; the table can have any domain.

AttributeColumn

is the name of an attribute column; the output point map will obtain the domain of this column. The output point map will not have an attribute table.

For other parameters, see above.

When the definition symbol = is used, a dependent output map is created; when the assignment symbol := is used, the dependency link is immediately broken after the output map has been calculated.

See also: