O'Reilly logo

ArcGIS By Example by Hussein Nasser

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reading and mapping external GPS point coordinates

Here we will discuss how to read GPS coordinates from an external file and then load them on the map. The GPS log coordinates have been previously prepared for this example. We have multiple GPS file logs that we can pick from. For this exercise, we will use C:\ArcGISByExample\telzaviba\Data\GPS_LOG_straight.txt.

Reading external GPS coordinates

We will read an external file with GPS coordinates under C:\ArcGISByExample\telzaviba\Data\GPS_LOG_straight.txt. The file has pairs of x and y records, as shown in the following table:

x

y

258831.891978741

6248372.52378893

258961.538071367

6248277.93505809

258952.939095835

6248281.90381602

258944.340120304

6248287.19549327

258936.402604429

6248290.50279156 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required