return formatDoubleAsString(aDouble, 8).replace('.', ',');
}
private KDRoute createKlicktel(KlickTelRoute route) {
ObjectFactory objectFactory = new ObjectFactory();
KDRoute kdRoute = objectFactory.createKDRoute();
kdRoute.setRouteOptions(route.getOptions());
KDRoute.Stations stations = objectFactory.createKDRouteStations();
kdRoute.setStations(stations);
for (Wgs84Position position : route.getPositions()) {
KDRoute.Stations.Station.Point point = objectFactory.createKDRouteStationsStationPoint();
point.setLongitude(formatPosition(position.getLongitude()));
point.setLatitude(formatPosition(position.getLatitude()));
KDRoute.Stations.Station station = objectFactory.createKDRouteStationsStation();