if (projectionObj instanceof Projection) {
projection = (Projection) projectionObj;
} else if (projectionObj instanceof String) {
projection = new Projection((String) projectionObj);
}
CoordinateReferenceSystem crs = projection != null ? projection.unwrap() : null;
refEnv = new ReferencedEnvelope(minX, maxX, minY, maxY, crs);
}
/**
* Constructor from array.