try {
pyramid = conn.issue(new Command<RasterInfo>() {
@Override
public RasterInfo execute(ISession session, SeConnection connection)
throws SeException, IOException {
SeRow r = q.fetch();
SeRasterAttr rAttr = r.getRaster(0);
SeObjectId rasterColumnId = rAttr.getRasterColumnId();
SeRasterColumn rasterColumn = new SeRasterColumn(connection, rasterColumnId);
SeCoordinateReference coordRef = rasterColumn.getCoordRef();