{"id":168,"date":"2008-06-30T22:04:03","date_gmt":"2008-07-01T02:04:03","guid":{"rendered":"http:\/\/www.virtualroadside.com\/blog\/?p=168"},"modified":"2008-06-30T22:04:03","modified_gmt":"2008-07-01T02:04:03","slug":"validate-gpx-file-in-linux","status":"publish","type":"post","link":"https:\/\/www.virtualroadside.com\/blog\/index.php\/2008\/06\/30\/validate-gpx-file-in-linux\/","title":{"rendered":"Validate GPX file in Linux"},"content":{"rendered":"<p>The website describing the GPX standard describes a way to validate your GPX file in windows, however it does not mention a way to do it in Linux. So heres how you can validate your files (one way of many, I&#8217;m sure). The program you use is called xmllint, and in ubuntu, the package that contains this is libxml2-utils &#8230;<\/p>\n<p>GPX 1.0:<\/p>\n<pre>xmllint --noout --schema http:\/\/www.topografix.com\/GPX\/1\/0\/gpx.xsd testfile.gpx<\/pre>\n<p>GPX 1.1:<\/p>\n<pre>xmllint --noout --schema http:\/\/www.topografix.com\/GPX\/1\/1\/gpx.xsd testfile.gpx<\/pre>\n<p>Hope that saves you some time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The website describing the GPX standard describes a way to validate your GPX file in windows, however it does not mention a way to do it in Linux. So heres how you can validate your files (one way of many, I&#8217;m sure). The program you use is called xmllint, and in ubuntu, the package that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/168"}],"collection":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":0,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtualroadside.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}