@Override public boolean isLatLon() { return cs.isLatLon(); }
@Override public boolean isLatLon() { return cs.isLatLon(); }
/** true if isGeoXY or isLatLon * @return true if isGeoXY or isLatLon */ public boolean isGeoReferencing() { return isGeoXY() || isLatLon(); }
/** true if isGeoXY or isLatLon * @return true if isGeoXY or isLatLon */ public boolean isGeoReferencing() { return isGeoXY() || isLatLon(); }
/** true if isGeoXY or isLatLon * @return true if isGeoXY or isLatLon */ public boolean isGeoReferencing() { return isGeoXY() || isLatLon(); }
@Override public CoordinateAxis getYHorizAxis() { return cs.isLatLon() ? cs.getLatAxis() : cs.getYaxis(); }
@Override public CoordinateAxis getXHorizAxis() { return cs.isLatLon() ? cs.getLonAxis() : cs.getXaxis(); }
@Override public CoordinateAxis getXHorizAxis() { return cs.isLatLon() ? cs.getLonAxis() : cs.getXaxis(); }
@Override public CoordinateAxis getYHorizAxis() { return cs.isLatLon() ? cs.getLatAxis() : cs.getYaxis(); }
/** Get the Projection for this coordinate system. * If isLatLon(), then returns a LatLonProjection. Otherwise, extracts the * projection from any ProjectionCT CoordinateTransform. * @return ProjectionImpl or null if none. */ public ProjectionImpl getProjection() { if (projection == null) { if (isLatLon()) projection = new LatLonProjection(); ProjectionCT projCT = getProjectionCT(); if (null != projCT) projection = projCT.getProjection(); } return projection; } private ProjectionImpl projection = null;
/** Get the Projection for this coordinate system. * If isLatLon(), then returns a LatLonProjection. Otherwise, extracts the * projection from any ProjectionCT CoordinateTransform. * @return ProjectionImpl or null if none. */ public ProjectionImpl getProjection() { if (projection == null) { if (isLatLon()) projection = new LatLonProjection(); ProjectionCT projCT = getProjectionCT(); if (null != projCT) projection = projCT.getProjection(); } return projection; } private ProjectionImpl projection = null;
/** Get the Projection for this coordinate system. * If isLatLon(), then returns a LatLonProjection. Otherwise, extracts the * projection from any ProjectionCT CoordinateTransform. * @return ProjectionImpl or null if none. */ public ProjectionImpl getProjection() { if (projection == null) { if (isLatLon()) projection = new LatLonProjection(); ProjectionCT projCT = getProjectionCT(); if (null != projCT) projection = projCT.getProjection(); } return projection; } private ProjectionImpl projection = null;
if (netcdfCS.isLatLon()) { return new Geographic(netcdfCS, axes);
if (!cs.isLatLon()) {
horizYaxis = convertUnits(horizYaxis); } else if (cs.isLatLon()) { horizXaxis = lonAxis = cs.getLonAxis(); horizYaxis = latAxis = cs.getLatAxis();
horizYaxis = convertUnits(horizYaxis); } else if (cs.isLatLon()) { horizXaxis = lonAxis = cs.getLonAxis(); horizYaxis = latAxis = cs.getLatAxis();
horizYaxis = convertUnits(horizYaxis); } else if (cs.isLatLon()) { horizXaxis = lonAxis = cs.getLonAxis(); horizYaxis = latAxis = cs.getLatAxis();
if (!cs.isLatLon()) {