]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/threedee/TerrainHelper.java
Version 17.2, February 2015
[GpsPrune.git] / tim / prune / threedee / TerrainHelper.java
index 0be2216cdf592384e95feb5c5ac34add99453b69..16e63edbc43c57f84a320563030ee5a625ff804b 100644 (file)
@@ -149,8 +149,8 @@ public class TerrainHelper
                                // Create a new point with the appropriate lat and long, with no altitude
                                double pX = xRange.getMinimum() + j * xStep;
                                DataPoint point = new DataPoint(
-                                       new Latitude(MapUtils.getLatitudeFromY(pY), Coordinate.FORMAT_NONE),
-                                       new Longitude(MapUtils.getLongitudeFromX(pX), Coordinate.FORMAT_NONE),
+                                       new Latitude(MapUtils.getLatitudeFromY(pY), Coordinate.FORMAT_DECIMAL_FORCE_POINT),
+                                       new Longitude(MapUtils.getLongitudeFromX(pX), Coordinate.FORMAT_DECIMAL_FORCE_POINT),
                                        null);
                                //System.out.println("Created point at " + point.getLatitude().output(Coordinate.FORMAT_DEG_MIN_SEC)
                                //      + ", " + point.getLongitude().output(Coordinate.FORMAT_DEG_MIN_SEC));