private static void registerProjections(boolean south) { for (int zoneIndex = 0; zoneIndex < MAX_UTM_ZONE; zoneIndex++) { MapProjection mapProjection = createProjection(zoneIndex, south); MapProjectionRegistry.registerProjection(mapProjection); } }
/** * 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/> */ @Override public void registerProjections() { MapProjectionRegistry.registerProjection(new MapProjection(getName(), createTransform(PARAMETER_DEFAULT_VALUES), false)); MapProjectionRegistry.registerProjection(new MapProjection(UPS_NORTH_NAME, createTransform(UPS_NORTH_PARAMETER_VALUES), true)); MapProjectionRegistry.registerProjection(new MapProjection(UPS_SOUTH_NAME, createTransform(UPS_SOUTH_PARAMETER_VALUES), true)); }
public void registerProjections() { MapProjectionRegistry.registerProjection(new MapProjection(getName(), createTransform(null), true)); }
public void registerProjections() { MapProjectionRegistry.registerProjection(new MapProjection(getName(), createTransform(null), false)); }
/** * 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)); }
/** * This method is called within the <code>{@link MapProjectionRegistry#registerDescriptor}</code> method after an * instance of this <code>MapTransformDescriptor</code> has been successfully registered. The method can and should * be used to register projections that are based on the type of <code>{@link MapTransform}</code> described by this * <code>MapTransformDescriptor</code>. Registering projection instances is done using the using the <code>{@link * MapProjectionRegistry#registerProjection}</code> method. * <p/> * <p/> * A typical implementation of this method would be: * <pre> * public void registerProjections() { * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-1", new * MyMapTransform(param_1))); * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-2", new * MyMapTransform(param_2))); * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-3", new * MyMapTransform(param_3))); * ... * } * </pre> */ public void registerProjections() { MapProjectionRegistry.registerProjection(new MapProjection(getName(), createTransform(null), false)); }
/** * This method is called within the <code>{@link MapProjectionRegistry#registerDescriptor}</code> method after an * instance of this <code>MapTransformDescriptor</code> has been successfully registered. The method can and should * be used to register projections that are based on the type of <code>{@link MapTransform}</code> described by this * <code>MapTransformDescriptor</code>. Registering projection instances is done using the using the <code>{@link * MapProjectionRegistry#registerProjection}</code> method. * <p/> * <p/> * A typical implementation of this method would be: * <pre> * public void registerProjections() { * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-1", new * MyMapTransform(param_1))); * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-2", new * MyMapTransform(param_2))); * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-3", new * MyMapTransform(param_3))); * ... * } * </pre> */ public void registerProjections() { MapProjectionRegistry.registerProjection( new MapProjection(getName(), createTransform(null), getMapUnit(), false)); }