Index: trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java	(revision 6668)
+++ trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java	(revision 6669)
@@ -91,10 +91,10 @@
 
     /**
-     * Replies true if east and north are different from Double.NaN
+     * Replies true if east and north are different from Double.NaN and not inifinite
      *
-     * @return true if east and north are different from Double.NaN
+     * @return true if east and north are different from Double.NaN and not inifinite
      */
     public boolean isValid() {
-        return !java.lang.Double.isNaN(x) && !java.lang.Double.isNaN(y);
+        return !Double.isNaN(x) && !Double.isNaN(y) && !Double.isInfinite(x) && !Double.isInfinite(y);
     }
 
