GPSXYSETTINGS
GPSXYSETTINGS sets how the CSV lists from GPSXYLIST and GPSXYLISTBYLAYER look: which columns, with or without a header row, which delimiter and how many decimals. At the bottom you see an immediate preview of the output.
Starting
Type GPSXYSETTINGS on the command line. There is no ribbon button for this command.
How it works
- The
GPS XY Export Settingswindow opens with the saved settings. - Change the settings. The Output preview area immediately shows what a line in the CSV will look like.
- Click Save to keep the settings. Cancel closes the window without saving anything. Restore defaults puts the fields back to the default values; you still need to click Save afterwards to keep them.
The settings apply to GPSXYLIST and GPSXYLISTBYLAYER until you change them again.
Settings
| Field | Choices | Default |
|---|---|---|
| Column preset | ID,X,Y,Z / NAME,EASTING,NORTHING,ELEVATION / X,Y,Z / NAME,E,N,Ele / POINT,NORTHING,EASTING,ELEVATION | ID,X,Y,Z |
| Header row | On: the column names are written as the first line of the CSV | On |
| Delimiter | Comma (,) / Semicolon (;) / Tab | Comma (,) |
| Decimal places | 0 up to and including 6 | 3 |
The preset decides the column names and their order. Watch out with the last preset: it has the northing (NORTHING) first and then the easting (EASTING).
What is in the columns?
This comes from the GPSXYLIST and GPSXYLISTBYLAYER commands that use these settings:
- The name (ID, NAME or POINT) comes from an attribute of the block with the tag
NAME,NAAM,NUMBER,NUMMER,POINTNAME,POINTNUMBERorID(in that order, the first one that is filled in). If no attribute is filled in, the name is the block name plus a sequence number. - The X/Y/Z values are the position of the block in metres, measured in the current UCS.
- The lines are sorted from left to right.