You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gpxval 907B

12345678910111213141516171819202122232425262728293031323334353637
  1. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/robertl/xerces-c1_7_0-linux7.2/lib
  2. export PATH=$PATH:/home/robertl/xerces-c1_7_0-linux7.2/bin
  3. validate()
  4. {
  5. SAX2Count -p -f -v=always $*
  6. }
  7. gpxval()
  8. {
  9. echo "Validating $*"
  10. ./gpsbabel $* -o gpx -F /tmp/$$.gpx
  11. validate /tmp/$$.gpx
  12. ./gpsbabel $* -o gpx,gpxver=1.0 -F /tmp/$$.gpx
  13. validate /tmp/$$.gpx
  14. ./gpsbabel $* -o gpx,gpxver=1.1 -F /tmp/$$.gpx
  15. validate /tmp/$$.gpx
  16. }
  17. # gpxval "-i gpx -f reference/holux.gpx"
  18. gpxval -i mapsend -f reference/chicago.trk
  19. SAX2Count reference/holux.gpx
  20. # Routes
  21. # gpxval -i gpx -f reference/route/blah.gpx
  22. gpxval -i magellan -f reference/route/magellan.rte
  23. gpxval -i psitrex -f reference/route/psitrtes.txt
  24. # gpxval -i gpx -f reference/route/route.gpx
  25. gpxval -i mapsend -f reference/route/route.mapsend
  26. gpxval -i mapsource -f reference/route/route.mps
  27. # Tracks
  28. gpxval -i mapsource -f reference/route/route.mps