{"id":112,"date":"2013-03-17T20:17:10","date_gmt":"2013-03-18T01:17:10","guid":{"rendered":"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/?p=112"},"modified":"2013-03-17T20:17:10","modified_gmt":"2013-03-18T01:17:10","slug":"create-gpx-gps-files-from-arcgis-shapefiles-or-googleearth-kml-files","status":"publish","type":"post","link":"https:\/\/zhuoyao.net\/index.php\/2013\/03\/17\/create-gpx-gps-files-from-arcgis-shapefiles-or-googleearth-kml-files\/","title":{"rendered":"Create GPX (gps files) from ArcGIS Shapefiles or GoogleEarth KML files"},"content":{"rendered":"<p>For some, DNR garmin (<a href=\"http:\/\/www.dnr.state.mn.us\/mis\/gis\/tools\/arcview\/extensions\/DNRGarmin\/DNRGarmin.html\">http:\/\/www.dnr.state.mn.us\/mis\/gis\/tools\/arcview\/extensions\/DNRGarmin\/DNRGarmin.html<\/a>) may be enough for converting shapefiles to gpx files but this program may not always work &#8211; especially for large files. I have found it easiest to convert ArcGIS shapefiles to KML and then to GPX files.<\/p>\n<p><strong>Shapefile to KML<\/strong><\/p>\n<p>Depending on the content of your shapefile, there are two different options for creating a KML.<\/p>\n<p>1)\u00a0\u00a0\u00a0\u00a0\u00a0 Open-source Shp2kml, available at:\u00a0<a href=\"http:\/\/www.zonums.com\/shp2kml.html\">http:\/\/www.zonums.com\/shp2kml.html\u00a0<\/a>.\u00a0 This would be my first choice.\u00a0 The GUI is very straightforward and gives you quite a few options for customizing your KML, such as: the color scheme, roll-over effect, and which attributes are displayed.\u00a0 NOTE: The list of acceptable Datums is kind of short.\u00a0 Found it easiest to just re-project shapefiles to WGS84.\u00a0 Also, found that this tool would not always work for shapefiles with especially long text attributes and\/or multi-part polygons. (This is discussed in more detail in a past blog called\u00a0<strong><a href=\"https:\/\/fishandgame.idaho.gov\/ifwis\/portal\/blog\/shapefile-google-earth-kml-customize-symbol-properties-and-labeling-no-programming-required\">Shapefile to Google Earth kml &#8211; Customize Symbol Properties and Labeling (NO PROGRAMMING REQUIRED!)<\/a>.<\/strong><\/p>\n<p>2)\u00a0\u00a0\u00a0\u00a0\u00a0 Create a layer file of your shapefile and use the \u2018Layer to KML\u2019 tool in ArcGIS.\u00a0 You have less authority over the output with this method.\u00a0 Limited customization of color scheme can be done in Google Earth (unless you would like to program some fancy customizations).\u00a0 NOTE: Actually saves the file as a KMZ; resave the KMZ as a KML for conversion to GPX in GoogleEarth.\u00a0 If you are using this options, delete all of the attribute fields that you do not want to show up in Google Earth \u2013 this information pops up when the feature is clicked.<\/p>\n<p><strong>KML to GPX<\/strong><\/p>\n<p>Lots of options.<\/p>\n<p>1)\u00a0\u00a0\u00a0\u00a0\u00a0 Open-source KML2GPX, available at:\u00a0<a href=\"http:\/\/groups.google.com\/group\/kml-support-getting-started\/msg\/ec5e2ae637ed4bfc\">http:\/\/groups.google.com\/group\/kml-support-getting-started\/msg\/ec5e2ae637ed4bfc<\/a><\/p>\n<p>3)\u00a0\u00a0\u00a0\u00a0\u00a0 Open-source GPSbabel, available at:\u00a0<a href=\"http:\/\/www.gpsbabel.org\/\">http:\/\/www.gpsbabel.org\/<\/a><\/p>\n<p>4)\u00a0\u00a0\u00a0\u00a0\u00a0 Built-in tool on gpsies.com, available at:\u00a0<a href=\"http:\/\/www.gpsies.com\/convert.do\">http:\/\/www.gpsies.com\/convert.do<\/a><\/p>\n<p>I know that DNR garmin and the tool on gpsies.com are not good for very large datasets.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some, DNR garmin (http:\/\/www.dnr.state.mn.us\/mis\/gis\/tools\/arcview\/extensions\/DNRGarmin\/DNRGarmin.html) may be enough for converting shapefiles to gpx files but this program may not always work &#8211; especially for large&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-112","post","type-post","status-publish","format-standard","hentry","category-geo-processing"],"_links":{"self":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/comments?post=112"}],"version-history":[{"count":0,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/112\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/media?parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/categories?post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/tags?post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}