TPC 2026
TPC 2026

 

 

Navigation: Sharing Data (Importing / Exporting) >

ASCII Coordinates

 

 

 

 

ASCII files are text files that contain point information, usually a point number, coordinates and a description.

A typical ASCII coordinate file might look like this.

100, 1000.00, 1000.00, 1350.00, Hub & Nail
101, 1035.12, 1018.97, 1347.01, Hub & Nail
102, 1167.74, 1018.88, 1342.55, Hub & Nail
103, 1203.14, 1018.14, 1338.19, Hub & Nail


Converting Between Grid and Ground

With TPC, you can easily convert between Grid and Ground coordinates when importing or exporting and ASCII file.


ASCII File Formats

•Before importing an ASCII file, it is important to determine the file’s format. If you do not know the file format, choose Preview from the Import/Export dialog. Examine the file format, looking for the pattern or format of the data.  Then tell TPC what the format is so it can import the data properly.

•Before exporting an ASCII file, you must also tell TPC what format to use.

Telling TPC which format to use

•Choose Settings to bring up the ASCII Settings dialog.

•Enter the Import Format that matches your data.

•Choose OK to return to the Import dialog.

If the format of the file is point label, northing, easting, elevation, description, type P,Y,X,Z,D\ for the Format. The backslash ( \ ) at the end of the data line is for a “line break.” You must enter the correct delimiters (commas, spaces, +, -, or quotation marks). So entering P Y X Z D\ for the format is not the same as entering P,Y,X,Z,D\.

What if you specify the wrong format? 

If you specify a format that doesn’t match the format of the imported ASCII file, TPC will still try to read the file. It will do the best job it can with the format you tell it to use.  The file will come in with errors though, such as zeros for coordinates and almost anything for field notes.  If the imported data is wrong or unusable, you can specify the correct format, and go through the above steps again.

Header Lines

Some ASCII files include a header line that specifies what data is in which column.  You can tell TPC to skip these header lines.  See Using File Headers.


Geodetic Formats

Chances are, if you importing geodetic positions, TPC will just read them. However, starting in TPC Desktop 2011, TPC has expanded the geodetic formats that can be read.

Here are a few tips:

•The characters 'N' or 'n' anywhere in a latitude indicate north latitude (positive value in TPC).

•The characters 'W' or 'w' anywhere in a longitude indicate west longitude (negative value in TPC).

•TPC considers westerly longitudes to be negative. You can place a '-' before a format char to change the sign. So "P T -G Z\" will treat a pos long as West (-). A '-' can be placed before the G when exporting, but TPC also adds a 'W' to the longitude.

•TPC can handle spaces inserted into geodetic values. So 42° 30' 30.1234", where there are spaces between deg min sec, imports fine.


Transferring Files

Most of the time you work with ASCII files, you are working with a file that has already been created. However, you can also transfer ASCII coordinate files to and from data collectors.

•For HP48 and other non-Windows CE data collectors, you connect directly to the data collector and transfer data via the serial port on your computer.

•For Windows CE data collectors,, you transfer files using Active Sync or access the data collector as an external drive.

File transfers are currently available only in the 32-bit versions of TPC Desktop.


ASCII vs CSV

In TPC Desktop, ASCII files handle just coordinates and geodetic positions, while CSV files can handle both, but are used primarily for raw field data.

See ASCII vs CSV.


Related Topics

Importing Survey Data
Exporting Survey Data
Using File Headers
Windows CE data collectors
Direct Connection
Import/Export dialog

Editions

Personal, Premium, Professional
 

 

 

 

Copyright © 2026 Traverse PC, Inc.