Grasscatcher Posted August 30, 2006 Share Posted August 30, 2006 Is there "anything out there" that will convert waypoints, tracks,routes, notes/Labels, symbols from a GPX file into separate Shapefiles (for each type data) Thanks Quote Link to comment
+Timpat Posted August 30, 2006 Share Posted August 30, 2006 Is there "anything out there" that will convert waypoints, tracks,routes, notes/Labels, symbols from a GPX file into separate Shapefiles (for each type data) Thanks Yes there is. There is a program called GPS Utility which free, up to a point. The free version is limited in capacity to 100 waypoints, 500 trackpoints, and 5 routes. To get full use it costs $55 (US). I use the free version all the time to translate .gpx to shape and vice versa. Quote Link to comment
robertlipe Posted August 30, 2006 Share Posted August 30, 2006 GPSBabel will do it, but to get what you're asking for is kind of klunky. If you have one GPX that contains tracks, waypoints, and routes, I'd do something like gspbabel -i gpx -f blah.gpx -x nuketypes,tracks,routes -o shape -F wpts gspbabel -i gpx -f blah.gpx -x nuketypes,waypoints,routes -o shape -F trks gspbabel -i gpx -f blah.gpx -x nuketypes,tracks,waypoints -o shape -F rtes Shapefile support doesn't map well onto other formats... Quote Link to comment
+geognerd Posted August 31, 2006 Share Posted August 31, 2006 I've had success with gpx2shp for converting tracks and points to shapefiles. I've never used a GPX file with more than one feature type in it so I can't say if it will send the points and lines to different shapefiles. The Windows download can be found here. You want the file called gpx2shp-0.69_win_notest.zip To use the program, you just drag and drop the GPX file on the gpx2shp executable file. The output is called [gpxfilename]_wpt.shp (.shx, .dbf, and so on) if the GPX file contains points. Quote Link to comment
Grasscatcher Posted August 31, 2006 Author Share Posted August 31, 2006 Thanks everyone! I'll try'em and see what works the best. Quote Link to comment
Grasscatcher Posted September 1, 2006 Author Share Posted September 1, 2006 GPSBabel will do it, but to get what you're asking for is kind of klunky. If you have one GPX that contains tracks, waypoints, and routes, I'd do something like gspbabel -i gpx -f blah.gpx -x nuketypes,tracks,routes -o shape -F wpts gspbabel -i gpx -f blah.gpx -x nuketypes,waypoints,routes -o shape -F trks gspbabel -i gpx -f blah.gpx -x nuketypes,tracks,waypoints -o shape -F rtes Shapefile support doesn't map well onto other formats... Robert, Tell me where to insert those command lines...(in GPS Babel)...now be nice I've only used it to get Tracks from tpo file to GPX file before. Thanks Quote Link to comment
+geognerd Posted September 1, 2006 Share Posted September 1, 2006 GPSBabel will do it, but to get what you're asking for is kind of klunky. If you have one GPX that contains tracks, waypoints, and routes, I'd do something like gspbabel -i gpx -f blah.gpx -x nuketypes,tracks,routes -o shape -F wpts gspbabel -i gpx -f blah.gpx -x nuketypes,waypoints,routes -o shape -F trks gspbabel -i gpx -f blah.gpx -x nuketypes,tracks,waypoints -o shape -F rtes Shapefile support doesn't map well onto other formats... Robert, I tried the command for converting a point GPX file and all I got was the .shp and .shx file. There was no .dbf file, so the shapefile is incomplete and can't be read in ArcGIS. Quote Link to comment
robertlipe Posted September 1, 2006 Share Posted September 1, 2006 Most shapefile readers don't need the dbf stuff. I've verified that we indeed do not create those. I'll put it on the list of things to worry about. (It's admittedly near the bottom.) Quote Link to comment
+geognerd Posted September 1, 2006 Share Posted September 1, 2006 Most shapefile readers don't need the dbf stuff. I've verified that we indeed do not create those. I'll put it on the list of things to worry about. (It's admittedly near the bottom.) Understandable. As this topic shows, there are a couple of other ways to convert GPX to shapefiles. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.