Added extrude to KML out

This commit is contained in:
Jason Short 2011-11-12 15:11:25 -08:00
parent dd96b146b5
commit 5090f2710b

View File

@ -58,7 +58,7 @@ def convert_gpx():
util.run_cmd(util.reltopdir("../pymavlink/examples/mavtogpx.py") + " --nofixcheck " + m)
gpx = m + '.gpx'
kml = m + '.kml'
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1 -F %s' % (gpx, kml), checkfail=False)
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1,extrude=1 -F %s' % (gpx, kml), checkfail=False)
return True