Difference between revisions of "Pathloss 5 - Import links from text file"

From PathlossWiki
Jump to: navigation, search
Line 12: Line 12:
  
 
[[File:Site_list_01.JPG]]
 
[[File:Site_list_01.JPG]]
 +
 +
Click '''''Import - Site text file'''''
 +
 +
[[File:Import_link_csv_01.JPG]]
 +
 
A file open dialog box will appear. Select the text file you would like to import and click '''''Open'''''
 
A file open dialog box will appear. Select the text file you would like to import and click '''''Open'''''
  
Line 17: Line 22:
 
This is a comma delimited file with column headers. Select '''''Delimited''''' and because we do not want to import the column names, set '''''Start import at line''''' to '''''2'''''.
 
This is a comma delimited file with column headers. Select '''''Delimited''''' and because we do not want to import the column names, set '''''Start import at line''''' to '''''2'''''.
  
[[File:Import_site_csv_02.JPG]]
+
[[File:Import_link_csv_02.JPG]]
  
 
== Step 3 - Select delimiter ==
 
== Step 3 - Select delimiter ==
 
Click the '''''Next''''' button. Make sure that the delimiter is set to '''''Comma''''' and click the '''''Next''''' button.
 
Click the '''''Next''''' button. Make sure that the delimiter is set to '''''Comma''''' and click the '''''Next''''' button.
  
[[File:Import_site_csv_03.JPG]]
+
[[File:Import_link_csv_03.JPG]]

Revision as of 13:44, 10 June 2010

This is a step by step procedure for importing link text files. Usually the link text files are delimited with commas or tabs, but they can also be fixed width. Pathloss 5 is flexible enough to read either.

Example link text file in CSV format:

Site name 1,Site name 2,Latitude 1,Latitude 2,Longitude 1,Longitude 2,Elevation 1(m),Elevation 2(m),...
Woking,Fairview,55.47972222,55.83722222,-118.74722222,-118.59666667,925.61,574.02,...
Fairview,Brownvale,55.83722222,56.07333333,-118.59666667,-117.87972222,574.02,612.84,...
Beaverlodge,Demmit,55.21391667,55.46194444,-119.26891667,-119.88944444,928.60,834.99,...


Step 1 - Open text (CSV) file

Click View - Site List to bring up the Site index. You can also click the Site list button on the toolbar.

Site list 01.JPG

Click Import - Site text file

Import link csv 01.JPG

A file open dialog box will appear. Select the text file you would like to import and click Open

Step 2 - Select text file type

This is a comma delimited file with column headers. Select Delimited and because we do not want to import the column names, set Start import at line to 2.

Import link csv 02.JPG

Step 3 - Select delimiter

Click the Next button. Make sure that the delimiter is set to Comma and click the Next button.

Import link csv 03.JPG