Index: trunk/scripts/SyncEditorLayerIndex.groovy
===================================================================
--- trunk/scripts/SyncEditorLayerIndex.groovy	(revision 12225)
+++ trunk/scripts/SyncEditorLayerIndex.groovy	(revision 12226)
@@ -244,4 +244,6 @@
             if((t = getCountryCode(e)))
                 stream.write "        <country-code>$t</country-code>\n"
+            if((getDefault(e)))
+                stream.write "        <default>true</default>\n"
             stream.write maininfo(e, "        ")
             if((t = getAttributionText(e)))
@@ -369,5 +371,5 @@
         }
 
-        /*myprintln "*** Same URL, but different Id: ***"
+        myprintln "*** Same URL, but different Id: ***"
         for (def url : eliUrls.keySet()) {
             def e = eliUrls.get(url)
@@ -377,7 +379,7 @@
             def jname = getId(j)
             if (!ename.equals(jname)) {
-                myprintln "* Id differs ('${getId(e)}' != '${getId(j)}'): $url"
-            }
-        }*/
+                myprintln "+ SKIP * Id differs ('${getId(e)}' != '${getId(j)}'): $url"
+            }
+        }
 
         myprintln "*** Same URL, but different type: ***"
@@ -537,4 +539,14 @@
                 } else if (!options.nomissingeli && !getType(e).equals("tms")) {
                     myprintln "+ Missing ELI projections ('${jt}'): ${getDescription(j)}"
+                }
+            }
+
+            et = getDefault(e)
+            jt = getDefault(j)
+            if (!et.equals(jt)) {
+                if (!jt) {
+                    myprintln "* SKIP - Missing JOSM default: ${getDescription(j)}"
+                } else if (!options.nomissingeli) {
+                    myprintln "+ Missing ELI default: ${getDescription(j)}"
                 }
             }
@@ -845,4 +857,8 @@
         return false
     }
+    static Boolean getDefault(Object e) {
+        if (e instanceof ImageryInfo) return e.isDefaultEntry()
+        return e.get("properties").getBoolean("default", false)
+    }
     String getDescription(Object o) {
         def url = getUrl(o)
