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 "
|
" asc " + (float) (h -lastHeight) + " dist "
|
||||||
+ (float) dist);
|
+ (float) dist);
|
||||||
serializer.endTag("","cmt");
|
serializer.endTag("","cmt");
|
||||||
|
serializer.startTag("","slope");
|
||||||
|
serializer.text((h -lastHeight)/ dist*100 + "");
|
||||||
|
serializer.endTag("","slope");
|
||||||
}
|
}
|
||||||
serializer.startTag("","desc");
|
serializer.startTag("","desc");
|
||||||
serializer.text((res.getObject().getId() >> (BinaryInspector.SHIFT_ID )) + " " + index);
|
serializer.text((res.getObject().getId() >> (BinaryInspector.SHIFT_ID )) + " " + index);
|
||||||
|
|
Loading…
Reference in a new issue