/** * Registers all possible UTM projections in the <code>{@link MapProjectionRegistry}</code>. The projection names * have the form "UTM Zone 1" to "UTM Zone 64" for the northern hemisphere and "UTM Zone 1, South" to "UTM Zone 64, * South" for the southern. Also contained is the special auto-UTM projection with the name <code>{@link * #AUTO_PROJECTION_NAME}</code>. */ public static void registerProjections() { if (!_projectionsRegistered) { MapProjectionRegistry.registerProjection(createAutoZoneProjection()); registerProjections(false); registerProjections(true); } _projectionsRegistered = true; }
/** * This method is called within the <code>{@link org.esa.beam.framework.dataop.maptransf.MapProjectionRegistry#registerDescriptor}</code> * method after an instance of this <code>MapTransformDescriptor</code> has been successfully registered. * <p/> * The method delegates the call to <code>{@link org.esa.beam.framework.dataop.maptransf.UTM#registerProjections}</code> * in order to register all frequently used UTM projections. */ @Override public void registerProjections() { UTM.registerProjections(); MapProjectionRegistry.registerProjection(new MapProjection(getName(), createTransform(null), false)); }