ARCHIVED: In ArcGIS, how do I create a shapefile from GPS coordinates in a text file?
In ArcGIS, you can use data collected from a GPS device to create a shapefile containing points, lines, or polygon features. For more about shapefiles, see Shapefile in Wikipedia.
Note: With most ArcGIS functions and tools, several methods can accomplish the same task. These instructions describe one way to do this procedure, but others may work just as well for you.
This procedure works best if you have a large number of coordinates you wish to add all at once:
- Make sure the text file containing GPS
points is in the right format for ArcGIS to read:
- Your GPS points should be organized with each field separated by tabs or commas.
- The fields or columns in your text file must have a valid field heading (column name). If they do not, you will see an error message.
- You must have at least an
X
coordinate field and aY
coordinate field (though these fields can have any name). You may have as many additional fields as needed (e.g., description or site number), but theX
andY
fields are mandatory. - Following is an example text file of GPS points:
SITE,EASTING,NORTHING,DESC 1,567189,4770802,trailhead 2,567732,4779100,proposed bridge site 3,569904,4765221,marshy area
- In ArcCatalog, right-click the text file containing the GPS coordinates. Select , and then . If you cannot see the text file in ArcCatalog, select under the menu. Then select the tab and, under "Types of data to show", make sure is checked.
- Select the field for the
X
value and theY
value (e.g., if you're using a UTM projection, select forX
and forY
). - Under "Output," type the name of the shapefile.
- To select the coordinate system, click . You can then select a pre-defined coordinate system, import one from another source, or create your own. (Be sure to select the spatial reference system of the points from the time they were taken with the GPS device. You can change the projection to something different later.)
- In the
Create Feature Class from XY table
dialog box, click .The new shapefile containing the GPS points will be created. If you do not see it listed in your workspace, press
F5
to refresh.
Related documents
This is document atlq in the Knowledge Base.
Last modified on 2023-05-09 14:38:49.