X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



8395 Rate this article:
No rating

How can I import my GPS Points into ENVI Classic?

GPS points are often obtained in the following format:

ID#, X, Y


and users would like to import these points into ENVI.


This type of GPS point file has three columns of data, consisting of the point ID number, the X location, and the Y location.


These points are usually an ASCII file; however, the File->Open External File->Generic Format->ASCII method in ENVI doesn't allow for the import of points in this format, because it is an ASCII raster reader and is not intended to read ASCII point data.


This Help Article discusses another method available to import these points into ENVI 5.0 Classic and ENVI 4.8.

 

If you have a GPS point file with the format of ID#, X, Y you can import these points into ENVI Classic using the Window->Point Collection utility.

Here is a sample GPS data file in this format:


1, -107.7840409, 44.28326903

2, -107.7764449, 44.28345405
3, -107.7688487, 44.28363857
4, -107.7612525, 44.28382258
5, -107.7536563, 44.28400609

This file has 5 GPS point locations, identified by the ID number in the first column. The second column of data is the longitude value and the third column is the latitude value. The file can be delimited by space, comma, or tab. The file can also contain any optional header information, provided that the header is commented out with a semicolon (;).


Here are the steps to import this file into ENVI Classic:


1. From ENVI Classic, select Window->Point Collection


2. In the Point Collection window, select File->Import Points from ASCII.


3. Select your saved GPS point text file.


4. In the Input ASCII file dialog box, verify that your desired file is shown as the input file.


5. Set the Latitude Column as column 3.


6. Set the Longitude Column as column 2. You can leave the other Column fields blank if your GPS point file only has the above three columns.


7. Select your Map Projection, Datum, and Units. In this example, the GPS point file's projection is in Geographic Lat/Lon, the datum is WGS-84, and the units are degrees.


8. Click OK.


9. The longitude and latitude from the points are imported into ENVI Classic and appear in the Point Collection dialog box.


You then are able to save these points as an ENVI vector (.evf) file.
To do so, please follow these steps:


10. From the Point Collection window select File->Save Points As->EVF Layer.


11. Select the layer name and either select the Output File Name or output to Memory.


12. Click OK.


13. The layer name then appears in the Available Vectors List. Select the layer name, then select "Load Selected".


14. The points appear in the new vector window.


You can now open an associated image and overlay these points on that image.

The resulting vector file is also the easiest way to bring the GPS points into ENVI 5.0.

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »