Index: trunk/scripts/BuildProjectionDefinitions.java
===================================================================
--- trunk/scripts/BuildProjectionDefinitions.java	(revision 9566)
+++ trunk/scripts/BuildProjectionDefinitions.java	(revision 9567)
@@ -143,17 +143,4 @@
         }
 
-        // exclude entries where we don't support the base projection
-        Proj bp = Projections.getBaseProjection(proj);
-        if (!"utm".equals(proj) && bp == null) {
-            result = false;
-            noBaseProjection++;
-            if (!"geocent".equals(proj)) {
-                if (!baseProjectionMap.containsKey(proj)) {
-                    baseProjectionMap.put(proj, 0);
-                }
-                baseProjectionMap.put(proj, baseProjectionMap.get(proj)+1);
-            }
-        }
-
         // no support for NAD27 datum, as it requires a conversion database
         String datum = parameters.get(CustomProjection.Param.datum.key);
@@ -169,4 +156,17 @@
         }
         
+        // exclude entries where we don't support the base projection
+        Proj bp = Projections.getBaseProjection(proj);
+        if (result && !"utm".equals(proj) && bp == null) {
+            result = false;
+            noBaseProjection++;
+            if (!"geocent".equals(proj)) {
+                if (!baseProjectionMap.containsKey(proj)) {
+                    baseProjectionMap.put(proj, 0);
+                }
+                baseProjectionMap.put(proj, baseProjectionMap.get(proj)+1);
+            }
+        }
+
         if (result && "omerc".equals(proj) && !parameters.containsKey(CustomProjection.Param.bounds.key)) {
             result = false;
