fixed log
This commit is contained in:
parent
2cf7d64c2d
commit
53928f751c
|
@ -7,8 +7,6 @@ import org.gcube.spatial.data.geoutility.shared.BBOX;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.allen_sauer.gwt.log.client.Log;
|
||||
|
||||
/**
|
||||
* The Class BBOXConverter.
|
||||
*
|
||||
|
@ -21,7 +19,7 @@ public class BBOXConverter {
|
|||
Integer[] size = new Integer[2];
|
||||
Double[] bbox = new Double[4];
|
||||
public static final double EQUATOR = 40075016.68557849;
|
||||
private Logger LOG = LoggerFactory.getLogger(BBOXConverter.class);
|
||||
private static Logger LOG = LoggerFactory.getLogger(BBOXConverter.class);
|
||||
|
||||
/**
|
||||
* The Class BBOXPixel.
|
||||
|
@ -220,13 +218,13 @@ public class BBOXConverter {
|
|||
|
||||
Double offsetWidth = bboxOffset(xMin, xMax);
|
||||
//System.out.println("offsetWidth: " + offsetWidth);
|
||||
Log.debug("offset width: "+offsetWidth);
|
||||
LOG.debug("offset width: "+offsetWidth);
|
||||
|
||||
String yMin = new Double(theBBOX.getLowerLeftY()).toString();
|
||||
String yMax = new Double(theBBOX.getUpperRightY()).toString();
|
||||
Double offsetHeight = bboxOffset(yMax, yMin);
|
||||
//System.out.println("offsetHeight: " + offsetHeight);
|
||||
Log.debug("offset width: "+offsetHeight);
|
||||
LOG.debug("offset width: "+offsetHeight);
|
||||
|
||||
return offsetWidth < offsetHeight ? offsetWidth : offsetHeight;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue