/** * Creates a transform from the specified group of parameter values. * * @param parameters The group of parameter values. * @return The created math transform. * @throws ParameterNotFoundException if a required parameter was not found. * @throws FactoryException if the projection can not be created. */ protected MathTransform createMathTransform(final ParameterValueGroup parameters) throws ParameterNotFoundException, FactoryException { if (!isSpherical(parameters)) { LOGGER.log( Level.FINE, "GeoTools EquidistantCylindrical is defined only on the sphere, " + "we're going to use spherical equations even if the projection is using an ellipsoid"); } return new EquidistantCylindrical(parameters); } }