Add slope to route.gpx
This commit is contained in:
parent
254a81c673
commit
07055d6faa
1 changed files with 3 additions and 0 deletions
|
@ -419,6 +419,9 @@ public class RouteResultPreparation {
|
|||
" asc " + (float) (h -lastHeight) + " dist "
|
||||
+ (float) dist);
|
||||
serializer.endTag("","cmt");
|
||||
serializer.startTag("","slope");
|
||||
serializer.text((h -lastHeight)/ dist*100 + "");
|
||||
serializer.endTag("","slope");
|
||||
}
|
||||
serializer.startTag("","desc");
|
||||
serializer.text((res.getObject().getId() >> (BinaryInspector.SHIFT_ID )) + " " + index);
|
||||
|
|
Loading…
Reference in a new issue