/** * Creates a predefined UTM map projection for the specified parameters. * * @param projName a name for the projection, e.g. <code>"UTM 33"</code> * @param zoneIndex the zone index in the range 0 to {@link #MAX_UTM_ZONE} - 1. * @param south whether or not the projection is defined for the southern hemispere * * @return an UTM map projection */ public static UTMProjection createProjection(final String projName, int zoneIndex, boolean south) { return UTMProjection.create(projName, zoneIndex, south); }
/** * Creates a new UTM projection instance. * * @param zoneIndex the zne as zero-based index, e.g. 31 for zone 32 * @param south false, if the zone is on the northern hemisphere * * @return the new projection */ public static UTMProjection create(int zoneIndex, boolean south) { return create(UTM.getProjectionName(zoneIndex, south), zoneIndex, south); }