Ejemplo n.º 1
0
 /** TODO: Test me ! And move me to CRS utility class */
 private static String srs(CoordinateReferenceSystem crs) {
   if (crs != null && crs.getIdentifiers() != null)
     for (Identifier id : crs.getIdentifiers()) {
       String srs = id.toString();
       if (srs.startsWith("EPSG")) return srs; // $NON-NLS-1$
     }
   return "EPSG:4326"; //$NON-NLS-1$
 }