Differences between revisions 1 and 2
Revision 1 as of 2021-11-30 14:16:32
Size: 567
Editor: JohnWeirich
Comment:
Revision 2 as of 2021-11-30 14:16:56
Size: 569
Editor: JohnWeirich
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
1. first make sure the first line has x, y, z values and not Bob's single line description
2. Make sure to convert any D's to E's (i.e. Bob uses scientific notation with D's that C doesn't recognize)
 1. first make sure the first line has x, y, z values and not Bob's single line description
 2. Make sure to convert any D's to E's (i.e. Bob uses scientific notation with D's that C doesn't recognize)

convertLatLon

Version 1.2 - Eric Palmer This program will convert Cartisian points (x, y, z) to lat,lon,radius. Also has an option for a 4th column

File Setup

If using an ICQ:

  1. first make sure the first line has x, y, z values and not Bob's single line description
  2. Make sure to convert any D's to E's (i.e. Bob uses scientific notation with D's that C doesn't recognize)

Usage

~/bin/convertLatLon SHAPE.TXT > output

  • Output is to the screen and needs to be redirected.
  • Output is col1 Elon; col2 lat; col3 radius in km

convertLatLon (last edited 2021-11-30 14:18:20 by JohnWeirich)